CoreData database sharing and migration
CoreData database sharing and migration
- Subject: CoreData database sharing and migration
- From: Tobias Jordan <email@hidden>
- Date: Wed, 17 Mar 2010 19:39:43 +0100
Hi Folks,
I am wondering whether it is possible to create a database in core
data that can be opened by more than one application at the same time.
It is currently impossible to handle one SQLite database with two
instances of the same app. The problem is if user1 quits the app, the
data is saved but user2's instance of the app doesn't recognize this
file system change and just overwrites its version in memory. So the
data from user1 is gone. Is there a way I can handle this?
Second -- I am having more than two database versions now but still
want to support my version 1.0 but the mapping model only allows one
source model as well as only one target model. I would have to remove
one version but that makes version 1.0 users' database unusable.
Has anyone gotten something like this to work?
Thanks a lot in advance!
Best regards,
Tobias J.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden