Re: question about informal protocols
Re: question about informal protocols
- Subject: Re: question about informal protocols
- From: Michael de Haan <email@hidden>
- Date: Fri, 20 Nov 2009 12:24:57 -0800
On Nov 20, 2009, at 12:19 PM, David Duncan wrote:
> On Nov 20, 2009, at 12:09 PM, Michael de Haan wrote:
>
>> 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?
>
>
> The addition of @optional and @required to Protocols is meant to replace the need for Informal Protocols. Categories are still very useful for adding functionality to a class, as Protocols only allow you to create an interface, not an implementation.
> --
Good...because the example makes much use of both categories and extensions...
:-)
Thanks David.
_______________________________________________
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