![]() When is a migration necessary? The easiest answer to this common question is “when you need to make changes to the data model.” Let the great migration begin! When to Migrate You’ll start with a simple app with only a single entity in its data model. This tutorial discusses the many aspects of Core Data migrations by walking you through the evolution of a note-taking app’s data model. ![]() The migration process will update data created with a previous version of the data model to match the current data model. You can’t predict the future, but with Core Data, you can migrate toward the future with every new release of your app. However, changes in app usage, design or features after an app’s release will inevitably lead to changes in the data model. ![]() This tutorial is presented as part of our iOS 12 Launch Party - enjoy!ĭuring app development, well before the ship date, thorough testing can help iron out the data model. This is an abridged chapter from our book Core Data by Tutorials, which has been completely updated for Swift 4.2 and iOS 12.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |