I have a app in app store, but now I added new attribute to entity. How can I update user's entity without deleting app and lose data?
Thanks
I have a app in app store, but now I added new attribute to entity. How can I update user's entity without deleting app and lose data?
Thanks
1) Click on your xcdatamodel file in Xcode
2) Choose the menu Editor in the upper bar
3) Click on Add version model
4) Create a new model based on the previous one
5) Perform your updates in the new created xcdatamodel file
The app will automatic handle your updates