views:

37

answers:

1

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.

+1  A: 

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

nob
Cool Thank you so much,,
Rajesh