代码改变世界

阅读排行榜

ios调试小技巧

2017-12-11 15:34 by dengchaojie_learner, 136 阅读, 收藏,
摘要: // 打印方法名 NSLog(@"%s", __FUNCTION__); 阅读全文

ios不起眼的错误

2017-11-22 11:50 by dengchaojie_learner, 135 阅读, 收藏,
摘要: _result += value;// 正确。记忆方法:按照正常的思路,加上多少,等于... _result =+ value;// 错误 _result /= value;// 除法 // bounds和frame UILabel *lb = [[UILabel alloc] initWithFr 阅读全文

swift开发笔记08

2017-08-09 18:01 by dengchaojie_learner, 135 阅读, 收藏,
摘要: swift中的XML解析,工具类:FeedParser() // 在主线程刷新UI DispatchQueue.main.async {} // tableView自动布局 tableView.beginUpdates() tableView.endUpdates() //guard guard l 阅读全文

swift开发笔记05

2017-08-04 16:43 by dengchaojie_learner, 135 阅读, 收藏,
摘要: Note that if you create a self-sizing cell in Interface Builder, the default row height is changed to the value set in Interface Builder. To get the e 阅读全文

objc_setAssociatedObject

2017-10-31 15:19 by dengchaojie_learner, 134 阅读, 收藏,
摘要: @dynamic ? objc_setAssociatedObject 所谓的架构不就是“以低耦合的方式分散业务复杂度”嘛。 data是程序世界的基本元素,另一个基本元素是verb(动作) 阅读全文
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 54 下一页