• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSUserDefaults for portable applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Converting HIPoints to CGPoints/NSPoints in global space?
  • Next by Date: Re: selector data
  • Previous by thread: Re: NSMenu on click of a button
  • Next by thread: Re: NSUserDefaults for portable applications
  • Index(es):
    • Date
    • Thread