I’m using the plist for storing data in iphone application, but now there is a need to upgrade to more powerful data warehouse. Can I upgrade the application to implement migration from plist to sqllite without losing data? Thank you.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably.
When your app launches, if it doesn’t have a database file (because it’s the first time being run with updated app), read in the plist data, and write it out to your new database file.
You will have to handle translating between the format of the plist and the structure of your database.