Re: NSUserDefaults
Re: NSUserDefaults
- Subject: Re: NSUserDefaults
- From: Greg Guerin <email@hidden>
- Date: Sat, 2 Oct 2010 14:14:40 -0700
David Blanton wrote:
Can key/values for user NSUserDefaults be set in xcode?
Describe exactly what you mean.
If you mean "Can I write a Shell Script Build Phase that runs the
'defaults' command to set some keys to certain values, for a
particular bundle identifier, for the current user?", then the answer
is "Yes". You could also use the 'PlistBuddy' command to accomplish
similar things: /usr/libexec/PlistBuddy. Both commands have man pages.
If you mean something else, you'll have to explain exactly what you
want to happen.
-- GG
_______________________________________________
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