> On Sat, 2009/05/16, Jason Stephenson <ja...@sigio.com> wrote:
> From: Jason Stephenson <ja...@sigio.com>
> Subject: Re: Calling delegates explicitly
> To: "Cocoa Cocoa-Dev" <cocoa-dev@lists.apple.com>
> Date: Saturday, 2009 May 16, 23:04
>> Eric E. Dolecki wrote:
>> If I understand you, make a method which you can call
>> directly and call this also from your delegate selector.
> 
> I was trying to say that if you implement a class that has
> the following method:
> 
> -(void) setDelegate: (id) delegate;
> 
> You are more or less obligated to call:
> 
> [delegate delegateMethod]
> 
> somewhere in your implementation. Otherwise, the delegate
> never does anything.

Unless the class that does the setDelegate: also does
[self delegateMethod]


      
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to