摘要: https://github.com/zhangao0086/DKImagePickerController 阅读全文
posted @ 2016-08-05 13:57 李小辉— 阅读(104) 评论(0) 推荐(0) 编辑
摘要: http://www.cocoachina.com/ios/20160719/17078.html 阅读全文
posted @ 2016-07-29 13:27 李小辉— 阅读(104) 评论(0) 推荐(0) 编辑
摘要: https://gogs.io/docs/installation 用来搭建服务器上传合并代码(git) 阅读全文
posted @ 2016-07-29 11:21 李小辉— 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/leejan97/blog/209762 代理和_block的相通之处 http://www.zhihu.com/question/29023547 iOS开发中,block与代理的对比,双方的优缺点及在什么样的环境下,优先使用哪一种更为合适? 阅读全文
posted @ 2016-07-28 15:57 李小辉— 阅读(131) 评论(0) 推荐(0) 编辑
摘要: UIView *myview = [[UIView alloc] init]; myview.frame = CGRectMake(0, 0, 320, 47); myview.backgroundColor = [UIColorcolorWithPatternImage:[UIImage imag 阅读全文
posted @ 2016-07-28 12:03 李小辉— 阅读(126) 评论(0) 推荐(0) 编辑
摘要: #import <Foundation/Foundation.h> @interface LabelLayout : NSObject /// label设置行间距 参数1:内容 参数2:label 参数3:行间距 参数4:字间距 参数5:字大小 参数6:label的宽度 +(CGSize)Adap 阅读全文
posted @ 2016-07-26 15:06 李小辉— 阅读(4662) 评论(1) 推荐(0) 编辑
摘要: UITapGestureRecognizer *tap=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(closeClick)]; [view addGestureRecognizer:tap]; //代理方法用 阅读全文
posted @ 2016-07-26 14:59 李小辉— 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1.当后台返回的为空时 设置默认值 - (id)mj_newValueFromOldValue:(id)oldValue property:(MJProperty *)property { if (property.type.typeClass == [NSString class]) { if ( 阅读全文
posted @ 2016-07-26 14:51 李小辉— 阅读(687) 评论(0) 推荐(0) 编辑
摘要: http://benbeng.leanote.com/post/ReactiveCocoaTutorial-part2 阅读全文
posted @ 2016-07-26 14:46 李小辉— 阅读(311) 评论(0) 推荐(0) 编辑
摘要: http://www.jianshu.com/p/75f01a638a07 阅读全文
posted @ 2016-07-26 14:44 李小辉— 阅读(147) 评论(0) 推荐(0) 编辑