摘要: - (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo; 阅读全文
posted @ 2015-06-04 11:27 Emyin 阅读(253) 评论(0) 推荐(0) 编辑
摘要: path.lowercaseString // www.gif.abc 输出结果: abc 阅读全文
posted @ 2015-06-03 17:24 Emyin 阅读(130) 评论(0) 推荐(0) 编辑
摘要: + (NSDictionary *)mj_objectClassInArray { // key : 属性名 // value : 类名 return @{ @"dogs" : @"Dog", @"books" : @"Book" }; } + (NSDictionary *)mj_replaced 阅读全文
posted @ 2015-06-03 16:54 Emyin 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 发帖时间的判断: 阅读全文
posted @ 2015-06-03 15:53 Emyin 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 打印结果: 2015-06-30 08:42:14 +0000 把它转换成2015年6月30日 8时42分14秒 怎么转? 2016-03-30 18:09:18,0.001518 <NSDateComponents: 0x7b791630> Calendar Year: 0 Month: -11 阅读全文
posted @ 2015-06-03 10:42 Emyin 阅读(213) 评论(0) 推荐(0) 编辑
摘要: automaticallyChangeAlpha 下拉或上拉时,文字颜色逐渐加深 阅读全文
posted @ 2015-06-02 22:35 Emyin 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 处理方法: The INFOPLIST_FILE build setting specifies the name of the Info.plist associated with your target. When building a target, Xcode reads this buil 阅读全文
posted @ 2015-06-02 21:49 Emyin 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 手拖拽后会调用 [scrollView setContentOffset:CGPointMake(200, 10) animated:YES];后会调用 阅读全文
posted @ 2015-06-02 21:27 Emyin 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 控件创建出来设置了frame,在某处用了该控件的尺寸,但是系统也许在这个时候还没有计算该控件的尺寸什么的,所以这个时候就要强制系统计算布局。 阅读全文
posted @ 2015-06-02 16:27 Emyin 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 在分类中声明@property, 只会生成方法的声明, 不会生成方法的实现和带有_下划线的成员变量 阅读全文
posted @ 2015-06-02 14:17 Emyin 阅读(129) 评论(0) 推荐(0) 编辑