Ray's playground

 

2012年5月10日

Template Method(Chapter 18 of Pro Objective-C Design Patterns for iOS)

摘要: Define the skeleton of an algorithm in an operation,deferring some steps to subclasses. Template Method lets subclasses redefine certain steps ofan algorithm without changing the algorithm's structure. 阅读全文

posted @ 2012-05-10 13:55 Ray Z 阅读(280) 评论(0) 推荐(1)

导航