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:
modify new model version tastes, make sure it's set current model in inspector of root file.
make mapping model knows how migrate data new model:
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
Post a Comment