摘要: #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) 编辑
摘要: 1.导入支付宝的SDK str :后台返回的商品信息签名 Vaolon:项目名称 [[AlipaySDK defaultService] payOrder:str fromScheme:@"Vaolon" callback:^(NSDictionary *resultDic) { NSLog(@"支 阅读全文
posted @ 2016-07-26 14:43 李小辉— 阅读(116) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/h1101723183/article/details/50667325 打包出现证书无效时 阅读全文
posted @ 2016-07-26 14:39 李小辉— 阅读(169) 评论(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 李小辉— 阅读(259) 评论(0) 推荐(0) 编辑