• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem using multiple stores with CoreData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: How does NSArrayController know?
  • Next by Date: NSObjectInaccessibleException -- CoreData could not fullfill a fault
  • Previous by thread: Re: NSTextTable column width calculations?
  • Next by thread: NSObjectInaccessibleException -- CoreData could not fullfill a fault
  • Index(es):
    • Date
    • Thread