会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
北狐的技术博客
北狐,移动互联网开发者
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2016年1月25日
UIScrollView的属性总结
摘要: PropertiesalwaysBounceHorizontal //一个布尔值,决定是否弹跳总是出现水平滚动时达到结束内容的看法。默认值是NO 。@property(nonatomic) BOOL alwaysBounceHorizontal //如果这个属性被设置为YES而且bounces的值是...
阅读全文
posted @ 2016-01-25 03:39 北狐
阅读(318)
评论(0)
推荐(0)
2016年1月24日
NSDate 的一些操作(比较、创建、在现有date加减一定时间等)
摘要: 创建当前时间[cpp]view plaincopyprint?NSDate*date=[NSDatedate];从现在开始的24小时 NSTimeIntervala_day =24*60*60; NSDate*tomorrow = [NSDatedateWithTimeIntervalSin...
阅读全文
posted @ 2016-01-24 15:31 北狐
阅读(2225)
评论(0)
推荐(0)
iphone--有关日历中NSDateFormatter中英文
摘要: 在使用日历使用中,获取星期的时候NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];[dateFormat setDateFormat:@"EEE"];得到的String 是 “Mon” “Wed”....如果想要得到中文 “周一...
阅读全文
posted @ 2016-01-24 14:01 北狐
阅读(399)
评论(0)
推荐(0)
2016年1月23日
获取UIButton的一些属性
摘要: 获取文字 button.currentTitle更多如下:@property(nullable, nonatomic,readonly,strong) NSString *currentTitle; // normal/highlighted/selected/disabled. can...
阅读全文
posted @ 2016-01-23 19:19 北狐
阅读(281)
评论(0)
推荐(0)
UIView中的坐标转换
摘要: //将像素point由point所在视图转换到目标视图view中,返回在目标视图view中的像素值- (CGPoint)convertPoint:(CGPoint)point toView:(UIView *)view;//将像素point从view中转换到当前视图中,返回在当前视图中的像素值- (...
阅读全文
posted @ 2016-01-23 18:01 北狐
阅读(142)
评论(0)
推荐(0)
Objective-c开发教程--MRC和ARC混编
摘要: iOS5.0以后就开始可以使用ARC来代替之前的MRC。1.ARC中使用MRC的类。方法如下:在targets的build phases选项下Compile Sources下选择要不使用arc编译的文件,双击它,输入-fno-objc-arc即可2.MRC中使用ARC的类。方法如下:在targets...
阅读全文
posted @ 2016-01-23 17:59 北狐
阅读(197)
评论(0)
推荐(0)
2016年1月20日
NSIndexPath的初始化方法
摘要: 好几次用到了NSIndexPath,但是一直不知道怎么通过 row section这两个参数来初始化NSIndexPath *index = [NSIndexPath indexPathForRow:0 inSection:4];直接使用!
阅读全文
posted @ 2016-01-20 15:08 北狐
阅读(908)
评论(0)
推荐(0)
2016年1月19日
Command /usr/bin/codesign failed with exit code 1
摘要: 汇总一下我的解决过程供参考,欢迎指正和补充。解决方案一:参考该博客:http://blog.sina.com.cn/s/blog_85c1f6a50100zxz1.html解决方案二:方案一中的步骤执行完成后不起作用,查看钥匙串中的证书是否有重复,如果有重复删除重复的证书,然后clean&bulid...
阅读全文
posted @ 2016-01-19 17:37 北狐
阅读(251)
评论(0)
推荐(0)
2016年1月17日
简述UITextField的属性和用法
摘要: 0. enablesReturnKeyAutomatically默认为No,如果设置为Yes,文本框中没有输入任何字符的话,右下角的返回按钮是disabled的。1.borderStyle设置边框样式,只有设置了才会显示边框样式 text.borderStyle = UITextBorderSt...
阅读全文
posted @ 2016-01-17 13:00 北狐
阅读(330)
评论(0)
推荐(0)
NSString+URLEncoding
摘要: NSString+URLEncoding.h#import @interface NSString(URLEncoding)- (NSString *)urlEncodeString;@endNSString+URLEncoding.m#import "NSString+URLEncoding.h"...
阅读全文
posted @ 2016-01-17 12:53 北狐
阅读(331)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告