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.
Asked
Active
Viewed 82 times
3
-
check this.. http://stackoverflow.com/questions/1262352/steps-to-migrate-core-data-databases-for-shipped-iphone-apps – Shruti May 26 '15 at 06:45
-
@Shruti do you have any demo that will be help me to understand well? – Yagnesh Dobariya May 26 '15 at 06:58
2 Answers
1
Try Out with this link you can find demo here (http://www.raywenderlich.com/86136/lightweight-migrations-core-data-tutorial)

Sachin Patil
- 353
- 1
- 13
-
This is not working well. can u suggest something else for better meet to exactly what i am looking for. Thank You – Yagnesh Dobariya Jun 05 '15 at 09:15
1
Here is the list of step you have to follow.
After this make required changes into your new model(Example 2).
Select your current model version -

Vijay Masiwal
- 1,153
- 8
- 12
-
1Good , but you haven't made the key point which is to how to map the old name of the property onto the new one. There is a possibility OP needs a mapping model in this case. – Warren Burton May 26 '15 at 07:23
-
@Vijay Masiwal, thanks for your kind of interest, i have follow this all things but my exact issue is that how to map old attribute name with new name. Still application going to crash. – Yagnesh Dobariya May 26 '15 at 07:49
-
@Warren Burton Still i am looking for solution. Is there any possibility? – Yagnesh Dobariya Oct 28 '16 at 05:17