Re: Multiple applications, one NSUserDefaults object?
Re: Multiple applications, one NSUserDefaults object?
- Subject: Re: Multiple applications, one NSUserDefaults object?
- From: Jerry Krinock <email@hidden>
- Date: Sun, 2 Dec 2007 08:29:00 -0800
On 2007 Nov, 26, at 9:32, Joachim Deelen wrote:
For me the it's working without problems. I have a background App
and another standalone App for setting the preferences. In the
Background App, I'm just using addSuiteNamed and all the keys that
were set by my standalone App are available.
OK, so I changed my background app to have a different bundle
identifier than my main app, added addSuiteNamed: and indeed it works.
But of course this only works for reading preferences. My background
app also writes a preference. (Some simple and cheap interapplication
communication.) To restore that facility, I called upon
CFPreferencesSetAppValue() and CFPreferencesSynchronize().
_______________________________________________
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