< Previous PageNext Page > Hide TOC

Application IDs

Preferences store preference data on disk in files named using an application ID that you provide. To ensure that there are no naming conflicts, it’s a good idea to define and set a bundle identifier for your application and use it as the application ID for preferences. Bundle identifiers take the same form as Java package names—your company’s unique domain name followed by the application or library name— for example com.apple.Finder or com.foo.ImageImport. Using this scheme minimizes the possibility of collision, and leaves you responsible for managing the identifier namespace under your corporate domain. See Bundle Programming Guide for more information on bundles and bundle IDs.



< Previous PageNext Page > Hide TOC


© 2003, 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-10-03)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.