NSUserDefaults writing to machine wide preferences?
NSUserDefaults writing to machine wide preferences?
- Subject: NSUserDefaults writing to machine wide preferences?
- From: Jim Correia <email@hidden>
- Date: Thu, 30 Jan 2003 14:57:01 -0500
I notice that if I put a preference in
/Library/my.bundle.identifier.plist by hand, that it is picked up in
the default search path for NSUserDefaults.
Is there a way to use NSUserDefaults to put something there, or do I
just need to make the CF call?
CFPreferencesSetValue(CFSTR("Key"), CFSTR("Value"),
kCFPreferencesCurrentApplication, kCFPreferencesAnyUser,
kCFPreferencesCurrentHost);
(I guess the same question applies to per host prefs...)
Thanks,
Jim
_______________________________________________
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.