10 2015 档案

摘要:http://magicalboy.com/kvc_and_kvo/ 阅读全文
posted @ 2015-10-29 19:54 iWillW 阅读(125) 评论(0) 推荐(0) 编辑
摘要:官方文档地址https://developer.apple.com/library/ios/documentation/Cocoa/Reference/Foundation/Classes/NSNumber_Class/Reference/Reference.htmlNSUInteger是无符号的整... 阅读全文
posted @ 2015-10-20 10:18 iWillW 阅读(543) 评论(0) 推荐(0) 编辑
摘要:1、上拉刷新的时候记得移除老的数据(同样应用于其他地方) if (vc.currentPage == 1) { //上拉加载 记得移除新的 [vc.totalArr removeAllObjects]; }2、currentPage设定初始值 否则第一次上拉的话... 阅读全文
posted @ 2015-10-20 09:42 iWillW 阅读(165) 评论(0) 推荐(0) 编辑
摘要:最近刚开始写博客 对排版什么的都不太精通 就是把自己感觉有用的东西贴出来 等有空了一定好好整理、改进 阅读全文
posted @ 2015-10-17 10:24 iWillW 阅读(111) 评论(0) 推荐(0) 编辑
摘要:CGPoint、CGRect等可以转化为字符串打印出来如:NSLog(@"-------------%@",NSStringFromCGPoint(point));char %cshort int %hi %hx %hounsigned short int %hu %hx %hoint %i %x ... 阅读全文
posted @ 2015-10-17 10:12 iWillW 阅读(835) 评论(2) 推荐(0) 编辑
摘要:记得添加MobileCoreServices.framework及导入#import 1 @interface PPViewController () 2 3 { 4 5 UIImagePickerController *_pickerController; 6 7 }... 阅读全文
posted @ 2015-10-16 22:28 iWillW 阅读(1575) 评论(0) 推荐(0) 编辑
摘要:设备屏幕尺寸分辨率(pt)Reader分辨率(px)渲染后PPIiPhone 3GS3.5吋320x480@1x320x480163iPhone 4/4s3.5吋320x480@2x640x960330iPhone 5/5s/5c4.0吋320x568@2x640x1136326iPhone 64.... 阅读全文
posted @ 2015-10-16 17:16 iWillW 阅读(155) 评论(0) 推荐(0) 编辑
摘要:@interface AlertView : UIView@property (nonatomic,copy) void(^block)(UIColor *color);- (id)initWithAlertView;- (void)showTwo;@end自定义View的.m文件- (id)ini... 阅读全文
posted @ 2015-10-13 20:54 iWillW 阅读(169) 评论(0) 推荐(0) 编辑
摘要:CGContextRef context = UIGraphicsGetCurrentContext(); //写文字 CGContextSetRGBFillColor(context, 1, 0, 0, 1.0);//设置填充颜色 UIFont *font = [UIFont boldSys... 阅读全文
posted @ 2015-10-13 20:06 iWillW 阅读(232) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示