• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Delegates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delegates


  • Subject: Delegates
  • From: "john darnell" <email@hidden>
  • Date: Mon, 19 May 2008 11:22:04 -0500
  • Thread-topic: Delegates

Hello Everyone:

   I've been trying to get my head wrapped around the concept of
"delegates" and I thought I would run it by the list to see if I am
approaching the correct idea behind a delegate.

   As far as I can tell, it is kind of like a virtual function (virtual
because I, the programmer, am expected to flesh it out) that resembles
an event attached to a given class.  It has specific times when it is
called and at that time it may perform just about any duty that the
programmer can dream of, or she can stick to something that relates to
the object calling it. In almost every description of a delegate that I
perused, I found the words "when" or "before," which is why I related a
delegate to an event.

   Am I getting close?

R,
John A.M. Darnell
Team Leader
Walsworth Publishing Company
Brookfield, MO
John may also be reached at email@hidden

Trivia Question:  In SciFi Channel's hit series, FARSCAPE, who played
the voice of Pilot?


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Delegates
      • From: Jens Alfke <email@hidden>
    • Re: Delegates
      • From: Paul Sargent <email@hidden>
    • Re: Delegates
      • From: Michael Babin <email@hidden>
    • Re: Delegates
      • From: "I. Savant" <email@hidden>
    • Re: Delegates
      • From: Michael Vannorsdel <email@hidden>
    • Re: Delegates
      • From: Nate Weaver <email@hidden>
  • Prev by Date: Re: Is [Red] the only special color for NSNumberFormatter?
  • Next by Date: Re: Cocoa et al as HCI usability problem
  • Previous by thread: Re: whether to use NSSavePanel or something else
  • Next by thread: Re: Delegates
  • Index(es):
    • Date
    • Thread