Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
- Subject: Re: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
- From: petite_abeille <email@hidden>
- Date: Mon, 29 Sep 2003 20:45:56 +0200
Hi Dave,
On Monday, Sep 29, 2003, at 19:14 Europe/Amsterdam, Dave Thorup wrote:
Yes, you'll need to set up a distributed notification center or some
other
kind of inter-application communication. The
NSUserDefaultsDidChangeNotification is only sent to an application
when that
application's defaults have changed (and it's probably not sent when
the
defaults are changed externally).
Ah...
Applications don't receive notifications
for when the defaults have changed in other applications.
I see...
it sounds like you're trying to get the System Preferences' Login
Items pane
to re-load its defaults.
Yes.
I don't know of any way to tell it to do that. If
you control all of the applications that you want to synchronize then
you
could do it.
Unfortunately not. I "control" only one part of the equation.
But if you want other people's applications to be synchronized
then I think you're out of luck.
Bummer :(
PS Try out Defaults Manager for a nifty tool when working with
defaults
(www.kuwan.net/defaultsmanager).
Thanks. Looks nice. But in this specific case, I need to be able to
modify the defaults programatically. Which works fine. Now if I could
synchronize other applications... Oh, well...
Cheers,
PA.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.