iphone - Pre-Loading, Prepopulating, Imprting data to existing CoreData store (SQLite) -


i in front of following problem: have coredata based iphone app, have prepopulated adding sqlite-db resources folder , copy documents folder if not there. but: when have update app , added new sqlite db , user has populated db in document folder, how can import new data of entity-tables existing db in users document folder?

i found several threads how populate db when users-db not existing. found lot migrating, changes datastructure, not import new data db added resources folder.

how can solve problem?

thanks help!

philipp

the framework used migrate sqlite schema can used load/migrate data during app upgrade. believe you'd need use nsmigrationmanager manage migration , load additional data.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -