开发者

Delegates - Functionality [duplicate]

This question already has answers here: Closed 11 years ago.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜