objective c - Core-data database updated in new app version -


i have application in xcode using sqlite/coredata database , has been submitted app store.

now have changed database managed object changed , want submit updated new version of app. want people have downloaded previous version of app won't loose data in old database.how can achieved? appreciated.

this documentation official word on subject.

though, simple walkthrough like:

add new model version:

enter image description here

modify new model version tastes, make sure it's set current model in inspector of root file.

enter image description here

make mapping model knows how migrate data new model:

enter image description here

choose corresponding models (source/destination) , edit generated mapping model tastes (often requires no changes @ if changes aren't complex).

that's simplified/stripped down walkthrough it's start. read on it!


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -