• Register

Objective-c Delegate sample code

0 votes
hi

  i am new to objective  why we need delegate?andalso i need the best samplee code for delegate.
asked Apr 25, 2013 in Objective C by BasicQuestion (1,345 points)

1 Answer

0 votes

      Delegation is a design pattern not only used in iOS but many other languages. It enables you to hand values and messages over in your class hierarchy.

sample code for delegate

answered Apr 25, 2013 by admin (6,065 points)
Cocoa uses protocols to support interprocess communication through Objective-C messages
...