Factory Method(Chapter 4 of Pro Objective-C Design Patterns for iOS)
摘要:
The abstract Product defines the interface of objects the factory method creates. TheConcreteProduct implements the Product interface. The Creator defines the factorymethod that returns an object of Product. It may also define a default implementation ofthe factory method that returns a default Con. 阅读全文
posted @ 2012-03-26 15:04 Ray Z 阅读(276) 评论(0) 推荐(0) 编辑