Delegate

From GNUstepWiki
Revision as of 09:46, 21 June 2006 by Cbv (talk | contribs) (Added to category Objective-C)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A delegate object is an object which acts on behalf of another object by implementing messages which allow the delegate to interfere in the normal flow of events, unlike notifications which only allow the receiver to react to the event.

Delegates are typically used to avoid subclassing.

Extend with Delegates: http://cocoadevcentral.com/articles/000075.php