FROM : Jim Correia
DATE : Thu Jan 30 20:57:01 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Jan 30 20:57:01 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Jim Correia | Jan 30, 20:57 | |
| Chris Parker | Jan 30, 23:25 | |
| Jim Correia | Jan 30, 23:29 | |
| Chris Parker | Jan 30, 23:58 |






Cocoa mail archive

