Yagnesh Dobariya
Yagnesh Dobariya

Reputation: 2251

CoreData migration issue during attribute name changes

I need to change my attribute name of entity in coredata ios. I want lightweight migration of it without crash. I have tried lot by referring migration tutorial but app directly goes crash.

Upvotes: 3

Views: 89

Answers (2)

Vijay Masiwal
Vijay Masiwal

Reputation: 1153

Here is the list of step you have to follow.

Step - 1

Step - 2

After this make required changes into your new model(Example 2).

Step - 3

Step - 4

Select your current model version -

Step - 5

Upvotes: 1

Sachin Patil
Sachin Patil

Reputation: 353

Try Out with this link you can find demo here (http://www.raywenderlich.com/86136/lightweight-migrations-core-data-tutorial)

Upvotes: 1

Related Questions