上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: #import "ViewController.h" #import "LhbToolBar.h" @interface ViewController ()<LhbToolBarDelegate> @property (weak, nonatomic) IBOutlet UITextField *t 阅读全文
posted @ 2016-06-09 18:43 sunflower-lhb 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h" #import <MessageUI/MessageUI.h> @interface ViewController ()<MFMessageComposeViewControllerDelegate> @end @implementation V 阅读全文
posted @ 2016-06-03 11:37 sunflower-lhb 阅读(168) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h" #import "MyView.h" #define KEYPATH @"contentOffset" @interface ViewController ()<UITableViewDataSource,UITableViewDelegate> 阅读全文
posted @ 2016-05-27 17:00 sunflower-lhb 阅读(163) 评论(0) 推荐(0) 编辑
摘要: /* 调用方法是里: object : 被观察对象 observer: 观察对象 forKeyPath里面带上property的name,如UIView的frame、center等等 options: 有4个值,分别是: NSKeyValueObservingOptionNew 把更改之前的值提供给 阅读全文
posted @ 2016-05-27 16:34 sunflower-lhb 阅读(94) 评论(0) 推荐(0) 编辑
摘要: dyld`dyld_fatal_error: -> 0x120069088 <+0>: brk #0x3 dyld: Library not loaded: @rpath/SDWebImage.framework/SDWebImage Referenced from: /var/containers 阅读全文
posted @ 2016-05-15 11:21 sunflower-lhb 阅读(411) 评论(0) 推荐(0) 编辑
摘要: 错误描述:假如项目要跑到iOS7.0及其以上版本,那么项目的target部署版本要改为7.0,Podfile文件设置的版本时7.0版本,此时直接运行可能回报这样的错误: 解决办法:把Pods工程里的所有类库都改成7.0就ok了 阅读全文
posted @ 2016-04-05 10:34 sunflower-lhb 阅读(264) 评论(0) 推荐(0) 编辑
摘要: 1、点击添加一个新仓库 2、填写信息。 3、创建好新仓库 4、开始托管项目 a、把空仓库clone下来。可以用终端,也可用通过xcode。这里以xcode演示。 (1、)打开账户 (2、)复制仓库链接 (3、)添加账户,添加完毕关了本页面就可以了 (4、)用xcode clone仓库,然后选择保存目 阅读全文
posted @ 2016-04-03 23:51 sunflower-lhb 阅读(144) 评论(0) 推荐(0) 编辑
摘要: #import "ViewController.h" @interface ViewController () { UIButton *_button; __block int timeout; } @end @implementation ViewController - (void)viewDi 阅读全文
posted @ 2016-03-29 15:02 sunflower-lhb 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 参考:http://www.cocoachina.com/ios/20141126/10320.html - (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { /** * 创建一个UIAlertCo 阅读全文
posted @ 2016-03-24 16:49 sunflower-lhb 阅读(186) 评论(0) 推荐(0) 编辑
摘要: CocoaPods 简介: 1、CocoaPods是一个第三方框架管理工具,可以统一管理APP里第三方框架的下载、更新、卸载。 2、CocoaPods使用Ruby语言搞定的 3、在终端里敲指令来用它 4、由于gem的源是国外的,很慢,所以要更换源,就要先删掉原来的源 5、如果发现CocoaPods装 阅读全文
posted @ 2016-03-21 17:07 sunflower-lhb 阅读(256) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页