• 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: respondsToSelector - #import OR compiler warnings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >respondsToSelector - #import OR compiler warnings? (From: Steve Cronin <email@hidden>)
 >Re: respondsToSelector - #import OR compiler warnings? (From: Graham Cox <email@hidden>)
 >Re: respondsToSelector - #import OR compiler warnings? (From: Steve Cronin <email@hidden>)
 >Re: respondsToSelector - #import OR compiler warnings? (From: Steve Cronin <email@hidden>)
 >Re: respondsToSelector - #import OR compiler warnings? (From: Bill Bumgarner <email@hidden>)
 >Re: respondsToSelector - #import OR compiler warnings? (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: Notification when NSPersistentDocument done loading model
  • Next by Date: Re: respondsToSelector - #import OR compiler warnings?
  • Previous by thread: Re: respondsToSelector - #import OR compiler warnings?
  • Next by thread: Re: respondsToSelector - #import OR compiler warnings?
  • Index(es):
    • Date
    • Thread