Re: respondsToSelector - #import OR compiler warnings?
Re: respondsToSelector - #import OR compiler warnings?
- Subject: Re: respondsToSelector - #import OR compiler warnings?
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 30 Dec 2008 18:57:06 -0500
On Tue, Dec 30, 2008 at 6:12 PM, Bill Bumgarner <email@hidden> wrote:
> Specifically, the use of @optional in an @protocol to declare all methods in
> the protocol as optional.
Using optional protocol methods instead of the traditional informal
protocol approach of categories on NSObject also has the nice benefit
of not polluting Xcode's autocompletion with all of your informal
protocol's methods.
--Kyle Sluder
_______________________________________________
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