Multiple applications, one NSUserDefaults object?
Multiple applications, one NSUserDefaults object?
- Subject: Multiple applications, one NSUserDefaults object?
- From: Jacob Bandes-Storch <email@hidden>
- Date: Sun, 25 Nov 2007 21:13:02 -0800
I've got a project going with a preference pane and a background
application that both need to access the user defaults for the same
domain. Currently I have the preference pane using [NSUserDefaults
standardUserDefaults], and the app using CFPreferencesCopyAppValue and
CFPreferencesSetAppValue with the prefPane's appID. Is there a way to
get an NSUserDefaults instance in the app that modifies the domain of
the preference pane, or am I stuck with the CF stuff?
_______________________________________________
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