NSUserDefaults for portable applications
NSUserDefaults for portable applications
- Subject: NSUserDefaults for portable applications
- From: "David V. Kocher" <email@hidden>
- Date: Sun, 12 Feb 2006 22:28:37 +0100
Recently there have been some open source applications released as
'portable apps' [1] packaged in a way they can be used on any
portable media without loosing application support data usually
stored in ~/Library/Application Support/. However, to my knowledge
they all still use the standard preferences in ~/Library/Preferences/
<bundleidentifier>.plist instead of storing these preferences on the
portable media as well.
What would you suggest as best practice to make the application
preferences portable (so the application won't modify and store
preferences on the 'guest' system)? The NSUserDefaults API doesn't
seem to offer any options to change that behavior.
Many thanks.
/dk
[1] http://www.freesmug.org/portableapps/
[2] http://trac.cyberduck.ch/ticket/180
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden