0

I am working on app which is in objective -C. Now i migrate that app in Swift. Now m facing the problem is that the older version is saving some data in local database using SQLite. But in my new version I am using CoreData to save local data. So I want to retain previous data too in new version. Any suggestion to do that. Thanks in advance.

0

1 Answer 1

1

You will need to write a migration to run on startup and copy the data from the old location to the new location.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.