| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
It seems storing user preferences in an application's bundle is a scary concept to most, if it's even possible. We have an application that's stored on the network, is copied from the server to the local machine via another application, and then launched by that application. The application can also be used offline. We would really prefer to have global, "traveling" preferences that are embedded in the application bundle but can be modified locally (don't worry about rights, you must be a system admin and an application admin to make preferences changes). Is there a way to use NSUserDefaults to do this? Maybe CFPreferences? I can read a pre- compiled plist in the bundle using NSBundle, but I have no idea how to write and load specific key values. Any ideas?
There's one major catch: the application would have to be copied back when the user quits so other users get their updated preferences. Hmmmm. It would be okay unless the write failed.
b.bum _______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
| References: | |
| >NSUserDefaults from within a bundle (From: Benjamin Einstein <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.