Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

UserDefaults and domain names



I'm working on the user defaults mechanism in my app and I noticed that many applications use a reverse fully qualified domain name, similar to the java package convention.

For example, com.apple.TextEdit, or com.microsoft.explorer...

My read of the NSUserDefaults docs indicated that it uses the bundle's name for the domain name, thus mine is coming out just plain FileView, rather than com.whidbeysoft.FileView.

Can someone tell me how to set my own fully qualified domain name in the user defaults?




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.