CoreData Tutorial Part 5/5 - Model Versioning, Lightweight Migration, Model Mapping
Steps in part 5 :
Add New Managed Object Model Versions
Set Lightweight Migration
Add Model Mappings
Test
When you need to change your Core Data Entities or structure, you have to add new model version before you send your App in AppStore. If you change just attributes or fetched templates, itβs not need, you can do it without consequence. But if you want to add a new Entity, you have to migrate your persistent store to a new model versions. You should also set mappings for the migration. In this tutorial we add model versions, model mappings, and using Lightweight Migration.
The full article:Β
http://spotlessicode.com/post/119187830266/coredata-tutorial-part-5-5-model-versioning














