• 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
Re: Calling delegates explicitly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling delegates explicitly


  • Subject: Re: Calling delegates explicitly
  • From: Jason Stephenson <email@hidden>
  • Date: Sat, 16 May 2009 16:27:01 -0400

Uli Kusterer wrote:
On 16.05.2009, at 19:28, Bill Bumgarner wrote:
On May 16, 2009, at 10:21 AM, Sourabh Sahu wrote:
Can we call delegates explicitly, Please reply soon.

Yes. But it is a bad idea.


What exactly was the question, and why is it a bad idea? I'm unable to follow the conversation, it seems ... ?

I am not entirely certain either, but I know that if you're writing the code for the object that accepts the delegate object, you kind of have to call the delegate methods explicitly at the appropriate times or they don't get called. There's no magic sauce that makes that happen without you providing it.


So, I suppose the answer really depends on what the question means.

Jason
_______________________________________________

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: Calling delegates explicitly
      • From: "Eric E. Dolecki" <email@hidden>
References: 
 >Calling delegates explicitly (From: Sourabh Sahu <email@hidden>)
 >Re: Calling delegates explicitly (From: Bill Bumgarner <email@hidden>)
 >Re: Calling delegates explicitly (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: -[NSScriptCommand suspendExecution]
  • Next by Date: Re: Calling delegates explicitly
  • Previous by thread: Re: Calling delegates explicitly
  • Next by thread: Re: Calling delegates explicitly
  • Index(es):
    • Date
    • Thread