On May 29, 2013, at 2:46 PM, Kyle Sluder wrote:

> On Wed, May 29, 2013, at 11:28 AM, Jens Alfke wrote:
>> 
>> There aren’t any forbidden prefixes that I know of, but there are ones
>> that should be used only for particular purposes, because the compiler
>> and/or runtime will make assumptions about them when they see that
>> prefix.
> 
> Apple selfishly reserves the underscore prefix for its own private
> methods, and even goes so far as to suggest prefixing your own methods
> with ugly unique prefixes:
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/CodingGuidelines/Articles/NamingMethods.html

Be that as it may, this is exactly the document I was looking for - and also a 
little eye opening.  It looks like there are many more conditions to pay 
attention to when naming methods.  Thank you Kyle.



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to