Delegates - Functionality [duplicate]
Possible Duplicate:
Delegates开发者_如何学运维, can't get my head around them
I am new to iPhone development, just started learning on my own.
While proceding i came up with a word Delegate. Can any one please explain them to me with an example.
Delegates in ObjektiveC are objects with a specific set of methods, which are called by the delegate-using object when something happens. This way, you can avoid subclassing the main object in order to track some state changes.
Wikipedia has something about that
精彩评论