Problem using multiple stores with CoreData
Problem using multiple stores with CoreData
- Subject: Problem using multiple stores with CoreData
- From: Xavier AMBROSIONI <email@hidden>
- Date: Fri, 05 Oct 2007 14:23:27 +0200
Hello,
I'm writing a NSPersistentDocument based application. For some reasons,
I would like to save the datas of my document in 2 different physical
files on the disk.
For that I override the 'configurePersistentStoreCoordinatorForURL'
method in my NSPersistentDocument subclass to add two stores to the
persistentStoreCoordinator.
My problem is that for an unknown reason, another method modifies the
persistentStoreCoordinator and remove one of my two stores. I discovered
that behavior subscribing to the
NSPersistentStoreCoordinatorStoresDidChangeNotification.
How can I identify which method is modifying to the
persistentStoreCoordinator ?
Which methods are supposed to modify that object ?
Thank you for your help.
Xavier
_______________________________________________
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