Question

I have a plist in my Resources folder that I'm using to store conversion information. I'd like to give the user the ability to "turn off" certain units so that those units will never be used in conversions. I don't want to have to maintain two lists with the conversion information in it.

I am able to save data back to that plist file in the stimulator. (using writeToFile and the pathForResource). I'm wondering if this is a problematic approach.

  • Will there be an issues with this on deployment? (i.e. will apple seal the plist)
  • What will happen if I push out an upgrade? What if that upgrade contains new units added to the list?
  • Would doing something like copying the plist to the user's documents directory make sense?

Thanks.

Was it helpful?

Solution

It is not possible to change the app bundle. Further the app is signed. Instead copy the plist to the documents directory on first start and access from there.

OTHER TIPS

No whatever is in the application bundle is offlimit has the DRM on iPhone needs it to stay the same.
You should save your preferences in the Apllication Document folder or Preference folder.

Use an iOS Settings Bundle...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top