Re: Userdefaults, their initial values, and bindings
Re: Userdefaults, their initial values, and bindings
- Subject: Re: Userdefaults, their initial values, and bindings
- From: Francis Derive <email@hidden>
- Date: Mon, 20 Aug 2007 17:47:37 +0200
On Aug 20, 2007, at 5:09 PM, mmalc crawford wrote:
The example assumes that you've created a 'UserDefaults.plist' file
as a project resource for your app...
mmalc
By the time, I could use NSPropertyListSerialization from another
example to restore from ~/Library/Preferences/com.myApp.plist.
I NSLog and see the meat of it - which is nice to see -, but I agree
it would be cleaner to bring the plist in the App bundle : I did it -
copied it in Xcode -, and the userDefaultsValuesPath from the example
is fine.
Well, but the preferences plist in ~/Library/Preferences was produced
with no line of code in my app - only but a few clicks in IB - .
So, how could I do to have these defaults values created in a plist
in the application bundle, rather than in the home library ? Does it
make sense to do that or should I go on with the plist in the Library ?
Thanks,
Francis
_______________________________________________
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