Ray's playground

 

2012年4月20日

Façade(Chapter 10 of Pro Objective-C Design Patterns for iOS)

摘要: There are three common situations in which you would consider using this pattern: Your subsystem is getting complex. A lot of classes are evolved fromapplying patterns. You can use a façade to provide a simpler interfacefor the subsystem classes. You can use façades to layer your subsystem 阅读全文

posted @ 2012-04-20 16:27 Ray Z 阅读(192) 评论(0) 推荐(0) 编辑

Bridge(Chapter 9 of Pro Objective-C Design Patterns for iOS)

摘要: Abstraction is the parent interface that defines the high-level abstraction interface usedby clients. It has a reference to an instance of Implementor, which defines the interfacefor implementation classes. This interface doesn’t need to correspond to Abstraction’sinterface; in fact, they can be qu. 阅读全文

posted @ 2012-04-20 15:28 Ray Z 阅读(236) 评论(0) 推荐(0) 编辑

导航