Ray's playground


Visitor(Chapter 15 of Pro Objective-C Design Patterns for iOS)

The Visitor pattern represents an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.

posted on 2012-05-03 13:48  Ray Z  阅读(270)  评论(0编辑  收藏  举报