• 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: Cocoa Naming Conventions (was Re: Sort of OT: Closing Carbon-based view windows with the menu)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Sort of OT: Closing Carbon-based view windows with the menu (From: Robert Grant <email@hidden>)
 >Re: Sort of OT: Closing Carbon-based view windows with the menu (From: m <email@hidden>)
 >Re: Sort of OT: Closing Carbon-based view windows with the menu (From: m <email@hidden>)
 >Re: Sort of OT: Closing Carbon-based view windows with the menu (From: Robert Grant <email@hidden>)
 >Cocoa Naming Conventions (was Re: Sort of OT: Closing Carbon-based view windows with the menu) (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Cocoa Naming Conventions (was Coreaudio-api Digest, Vol 2, Issue 74)
  • Next by Date: Render Callback not called, yet 100% cpu use
  • Previous by thread: Cocoa Naming Conventions (was Re: Sort of OT: Closing Carbon-based view windows with the menu)
  • Next by thread: Starting with AppleUSBAudio and CoreMIDI
  • Index(es):
    • Date
    • Thread