07 2016 档案

摘要:http://www.cocoachina.com/ios/20160719/17078.html 阅读全文
posted @ 2016-07-29 13:27 李小辉— 阅读(115) 评论(0) 推荐(0)
摘要:https://gogs.io/docs/installation 用来搭建服务器上传合并代码(git) 阅读全文
posted @ 2016-07-29 11:21 李小辉— 阅读(140) 评论(0) 推荐(0)
摘要:http://my.oschina.net/leejan97/blog/209762 代理和_block的相通之处 http://www.zhihu.com/question/29023547 iOS开发中,block与代理的对比,双方的优缺点及在什么样的环境下,优先使用哪一种更为合适? 阅读全文
posted @ 2016-07-28 15:57 李小辉— 阅读(138) 评论(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 李小辉— 阅读(129) 评论(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 李小辉— 阅读(4829) 评论(1) 推荐(0)
摘要:UITapGestureRecognizer *tap=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(closeClick)]; [view addGestureRecognizer:tap]; //代理方法用 阅读全文
posted @ 2016-07-26 14:59 李小辉— 阅读(303) 评论(0) 推荐(0)
摘要:1.当后台返回的为空时 设置默认值 - (id)mj_newValueFromOldValue:(id)oldValue property:(MJProperty *)property { if (property.type.typeClass == [NSString class]) { if ( 阅读全文
posted @ 2016-07-26 14:51 李小辉— 阅读(753) 评论(0) 推荐(0)
摘要:http://benbeng.leanote.com/post/ReactiveCocoaTutorial-part2 阅读全文
posted @ 2016-07-26 14:46 李小辉— 阅读(321) 评论(0) 推荐(0)
摘要:http://www.jianshu.com/p/75f01a638a07 阅读全文
posted @ 2016-07-26 14:44 李小辉— 阅读(164) 评论(0) 推荐(0)
摘要:1.导入支付宝的SDK str :后台返回的商品信息签名 Vaolon:项目名称 [[AlipaySDK defaultService] payOrder:str fromScheme:@"Vaolon" callback:^(NSDictionary *resultDic) { NSLog(@"支 阅读全文
posted @ 2016-07-26 14:43 李小辉— 阅读(125) 评论(0) 推荐(0)
摘要:http://blog.csdn.net/h1101723183/article/details/50667325 打包出现证书无效时 阅读全文
posted @ 2016-07-26 14:39 李小辉— 阅读(175) 评论(0) 推荐(0)
摘要:pod repo update //更新cocopods(新版本 pod update --verbose) pod install //更新库 pod install --verbose --no-repo-update//更新库不更新cocopods Podfile 文件添加第三方库 platf 阅读全文
posted @ 2016-07-26 14:37 李小辉— 阅读(278) 评论(0) 推荐(0)