Re: Cocoa Naming Conventions (was Re: Sort of OT: Closing Carbon-based view windows with the menu)
Re: Cocoa Naming Conventions (was Re: Sort of OT: Closing Carbon-based view windows with the menu)
- Subject: Re: Cocoa Naming Conventions (was Re: Sort of OT: Closing Carbon-based view windows with the menu)
- From: john <email@hidden>
- Date: Tue, 8 Mar 2005 17:30:17 -0500
Hi,
Apple has something in their documentation about this:
http://developer.apple.com/documentation/Cocoa/Conceptual/
CodingGuidelines/index.html
Check out the Code Naming Basics article.
-- John
Just a point about Cocoa Name spaces...
All cocoa objects load into a global name space... Most of the time
this isn't a problem, but for a Cocoa app that loads 3rd party code,
the potential for name space collision arises. To avoid this for
instance, all of the App Kit classes are prefixed with the NS
letters.. We will also be using both the CA and AU prefixes for
objective C classes that we define.
Its important that both Cocoa host apps, and 3rd parties that provide
cocoa AU views to be loaded, are careful about the naming conventions
that they use.
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden