Composite(Chapter 13 of Pro Objective-C Design Patterns for iOS)
摘要:
When Would You Use the Composite Pattern? You would naturally think about using the pattern whenYou want to have abstract tree representation of objects (part-wholehierarchies). You want clients to treat all objects in the composite structure andindividual objects uniformly. 阅读全文
posted @ 2012-04-25 14:21 Ray Z 阅读(225) 评论(0) 推荐(0) 编辑