Re: Userdefaults, their initial values, and bindings
Re: Userdefaults, their initial values, and bindings
- Subject: Re: Userdefaults, their initial values, and bindings
- From: mmalc crawford <email@hidden>
- Date: Mon, 20 Aug 2007 08:09:44 -0700
On Aug 20, 2007, at 7:51 AM, Francis Derive wrote:
What about initial values of these defaults ?
From "User Defaults and Bindings"docs @ ADC Home > Reference Library
> Guides > Cocoa > Design Guidelines > Cocoa Bindings Programming
Topics >, the code of Listing 2 Changing the initial values of the
sharedUserDefaultsController instance shows :
// load the default values for the user defaults
userDefaultsValuesPath=[[NSBundle mainBundle]
pathForResource:@"UserDefaults"
ofType:@"plist"];
but this gives null for my app.
The example assumes that you've created a 'UserDefaults.plist' file as
a project resource for your app...
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden