Ray's playground



Decorator(Chapter 16 of Pro Objective-C Design Patterns for iOS)

摘要: We have introduced the Decorator pattern with its concepts and different approaches toimplement it in Objective-C. A true subclass implementation uses a more structuredapproach to connect different decorators. A categories approach is simpler and morelightweight than its counterpart. It’s suitable . 阅读全文

posted @ 2012-05-04 09:32 Ray Z 阅读(288) 评论(0) 推荐(0) 编辑