NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
- Subject: NSUserDefaults, setPersistentDomain & NSUserDefaultsDidChangeNotification
- From: petite_abeille <email@hidden>
- Date: Mon, 29 Sep 2003 10:10:32 +0200
Hello,
I'm trying to synchronize NSUserDefaults changes across applications
and I'm a little bit at lost on how to make it happen...
I have a little utility which add itself to loginwindow's
AutoLaunchedApplicationDictionary... which works very nicely... but...
how do I propagate NSUserDefaultsDidChangeNotification to all
interested party? For instance, the System Preferences Login Items pane
is not properly update if I apply my changes while it's open... the
changes do stick... but I need to reload Login Items for this pane to
reflect the changes...
Any idea? Should I forward NSUserDefaultsDidChangeNotification to the
local NSDistributedNotificationCenter? Something else altogether?
Thanks.
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.