When does NSUserDefaults need to be synchronized?
When does NSUserDefaults need to be synchronized?
- Subject: When does NSUserDefaults need to be synchronized?
- From: Dave Thorup <email@hidden>
- Date: Thu, 01 May 2003 17:43:49 -0600
If I have more than one application that accesses a shared set of defaults
(say with "com.foo.shared" as the domain), then how does one application
know when the other has updated the defaults.
I tried using the NSUserDefaultsDidChangeNotification but that only gets
fired when the defaults change for the currently running app. If another
application changes the defaults then the notification is not posted.
Are there any ideas on this, or would I need to do some type of
inter-application communication (through a pipe or something)?
Thanks!
____________________________________
Dave Thorup
Software Engineer
email@hidden
voice: 801-805-9422
www.corda.com
Interactive data driven graphics.
_______________________________________________
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.