Ray's playground

 

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 of an algorithm without changing the algorithm's structure.

posted on 2012-05-10 13:55  Ray Z  阅读(269)  评论(0编辑  收藏  举报

导航