Ray's playground

 

Prototype(Chapter 3 of Pro Objective-C Design Patterns for iOS)

The Prototype pattern is one of the simplest design patterns. A client knows an abstract Prototype class. At runtime any object that is a subclass of the abstract Prototype can be cloned at the client’s will. So the client can make multiple instances of the same type without creating them manually.

posted on 2012-03-22 18:22  Ray Z  阅读(269)  评论(0)    收藏  举报

导航