摘要: -(void)daojishi{ __weak typeof(self) weakSelf = self; __block int timeout=60; //倒计时时间 dispatch_queue_t queue = dispatch_get_global_queue(DISPATCH_QUEU 阅读全文
posted @ 2016-04-07 17:13 筱简單 阅读(328) 评论(0) 推荐(0)
摘要: 一、设置UILabel的属性attributedText(NSMutableAttributedString) NSString *testStr = @"测试"; UILabel *testLab = ...(实例对象) 一、设置UILabel的属性attributedText(NSMutable 阅读全文
posted @ 2016-03-31 10:40 筱简單 阅读(292) 评论(0) 推荐(0)
摘要: 调用代理方法的返回的是每个section的headerView,而tableview 的tableHeaderView是tableview的顶部。就是说tableHeaderView只有一个,而headerView可以有多个~ 阅读全文
posted @ 2016-03-28 16:25 筱简單 阅读(1135) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-03-25 10:48 筱简單 阅读(217) 评论(0) 推荐(0)
摘要: http://www.jianshu.com/p/6acad14cf3c9 阅读全文
posted @ 2016-03-23 14:58 筱简單 阅读(202) 评论(0) 推荐(0)
摘要: 点击项目名,修改后 敲 回车键 后 跳出 如下图,点击 Rename: 后点击 Enable: 后 如下图所示点击 Manage Schemes... : 后 如下图所示 修改名字: 修改后,点击OK即可。 阅读全文
posted @ 2016-03-23 10:57 筱简單 阅读(409) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-03-18 09:45 筱简單 阅读(206) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/YouXianMing/p/3989155.html 阅读全文
posted @ 2016-03-17 09:12 筱简單 阅读(254) 评论(0) 推荐(0)
摘要: uncaught exception 'NSInternalInconsistencyException, reason:[UITableViewController loadView] loaded the "Controller" nib but didn't get a UITableView 阅读全文
posted @ 2016-03-16 17:09 筱简單 阅读(449) 评论(0) 推荐(0)
摘要: 1.IBAction:1> 能保证方法可以连线2> 相当于void2.IBOutlet:1> 能保证属性可以连线3.常见错误setValue:forUndefinedKey:]: this class is not key value coding错误原因是:连线出问题了4.Xcode5开始的一些建 阅读全文
posted @ 2016-03-15 13:50 筱简單 阅读(154) 评论(0) 推荐(0)