2013年2月22日

Perform Selector and Delayed Perform

摘要: Selectors identify the messages that are sent to Objective-C objects.They’re used bythe receivers of messages to select which methods will be performed.In particular, selectors are key to Cocoa’simplementation of the Notifications, Delegates,Targets and Actions, Invocations, and Forwardingpatterns. 阅读全文

posted @ 2013-02-22 16:02 Chansonyan 阅读(306) 评论(0) 推荐(0)

Enumerators

摘要: Enumerators provide a mechanism for accessing all of the objects in a collection sequentiallywithout exposing the collection’s underlying data structures. Enumerators areused to write flexible and efficient code for using collection classes without tying applicationsto specific implementations. Furt 阅读全文

posted @ 2013-02-22 01:27 Chansonyan 阅读(355) 评论(0) 推荐(0)

导航