> 
> 
> The usual way is to NOT implements the NSObject category and test if the 
> delegate implements the method using -respondsToSelector:
> But this way works too if you don't want to have to test before sending your 
> message.
> 
> Anyway, informal protocols are "deprecated" in favor of @protocol with 
> @optional method.
> 
> 
> -- Jean-Daniel
> 
> 
> 
> 


Did not see that it was deprecated, but will take your lead and convert them to 
that. Does the, in your opinion, "optional" addition pretty much replace 
categories as a whole, or is there still a role for them?


_______________________________________________

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