CoreData migration issue when attribute name changes
I need to change the name of an object attribute in the coredata ios file. I want to port it easily without crashing. I tried a lot by referring to the migration tutorial, but the application is immediately submitted with an error.
+3
Yagnesh dobariya
source
to share
2 answers
Try this link you can find demo here ( http://www.raywenderlich.com/86136/lightweight-migrations-core-data-tutorial )
+1
Sachin Patil
source
to share
Here is a list of the steps you should follow.
Then make the necessary changes to your new model (example 2).
Select the current version of the model -
+1
Vijay masiwal
source
to share