1

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.

Community
  • 1
  • 1
Rajesh
  • 11
  • 1
  • does this answer your question: [iPhone - proper usage of delegates](http://stackoverflow.com/questions/338734/iphone-proper-usage-of-application-delegate) ? – Matt Ellen Oct 26 '10 at 09:13

1 Answers1

1

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
  • 1,404
  • 10
  • 13