Reputation: 3318
I have a lite app on store which uses core data for data persistence, it would be nice if users could migrate their data to the full version of the app after upgrading.
I found this article but it talks only about SQLite databases.
I seem not to find any information about this no where.
Anyone an idea on how to do this ?
Upvotes: 6
Views: 1328
Reputation: 26682
Data migration is covered in detail in the Apple document "Core Data Model Versioning and Data Migration Programming Guide"
Best wishes, xj
Upvotes: 1
Reputation: 135588
There really is no difference between SQLite and Core Data in this regard. Just copy the file you use as Core Data store as described in the article you linked to.
Upvotes: 4