Re: Reserved method prefixes in Cocoa. Is there a reference list?
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