![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
iOS的设计模式
文章平均质量分 78
JerryLeeFighting
在此 向那些疯狂的人们致敬!他们我行我素,桀骜不驯,惹事生非。他们以不同的方式察看世界。他们不循规蹈矩,不安于现状。你可以支持他们,反对他们。赞美他们或贬低他们。但是你唯独不能忽视他们。因为他们改变了世界。他们推动了人类向前发展。 有...
展开
-
Target-Action 设计模式
Target-Action Target-action is a design pattern in which an object holds the information necessary to send a message to another object when an event occurs. The stored information consists of two i原创 2014-06-12 08:51:28 · 689 阅读 · 0 评论 -
整洁的 Table View 代码
Table view 是 iOS 应用程序中非常通用的组件。许多代码和 table view 都有直接或间接的关系,随便举几个例子,比如提供数据、更新 table view,控制它的行为以及响应选择事件。在这篇文章中,我们将会展示保持 table view 相关代码的整洁和良好组织的技术。 UITableViewController vs. UIViewController Apple转载 2014-06-18 14:51:16 · 336 阅读 · 0 评论 -
Skinnier Controllers Using View Categories
Skinnier Controllers Using View Categories Brent Simmons explains in a recent post how not to skip the C in MVC when binding model objects to views like UITableViewCell. While I agree with everythi原创 2014-06-18 15:39:17 · 631 阅读 · 0 评论