• 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: Reserved method prefixes in Cocoa. Is there a reference list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reserved method prefixes in Cocoa. Is there a reference list?


  • Subject: Re: Reserved method prefixes in Cocoa. Is there a reference list?
  • From: Lee Ann Rucker <email@hidden>
  • Date: Wed, 29 May 2013 14:26:15 -0700

Clang objected to a variable that started with "new" when we turned it into a property, because then there was a method named "new" that wasn't doing what it expected. I don't remember the details; I renamed it a long time ago.

On May 29, 2013, at 10:37 AM, Alex Zavatone wrote:

> I'm aware that certain prefixes like "set" are bad news to use to start method names for obvious reasons, but with the caffeine levels in my brain cell running low, I'm at a loss to recall some of the others (is return verboten?).  Is there a list of reserved method prefix strings that you simply shouldn't use to start your methods?
>
> Just want to have a little list handy of "don't start methods with these words".
>
> My sleep deprivation thanks you.
>
>
>
> _______________________________________________
>
> 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


_______________________________________________

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: 
 >Reserved method prefixes in Cocoa. Is there a reference list? (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Reserved method prefixes in Cocoa. Is there a reference list?
  • Next by Date: Dismissing menu from menu item that uses custom view
  • Previous by thread: Re: Reserved method prefixes in Cocoa. Is there a reference list?
  • Next by thread: Dismissing menu from menu item that uses custom view
  • Index(es):
    • Date
    • Thread