Re: NSUserDefaults
Re: NSUserDefaults
- Subject: Re: NSUserDefaults
- From: jeremy <email@hidden>
- Date: Sat, 02 Oct 2010 22:58:13 -0400
On Oct 2, 2010, at 5:35 PM, David Blanton wrote:
> When my app runs for the first time I want default values to use.
So put the initial user defaults (i.e., your factory settings) in the NSRegistrationDomain domain.
See the following:
Registration Domain
http://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/UserDefaults/Concepts/DefaultsDomains.html#//apple_ref/doc/uid/20000718-97046
and
Setting a Default in the NSRegistrationDomain
http://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/UserDefaults/Tasks/UsingDefaults.html#//apple_ref/doc/uid/20000719-97292
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden