Hi everyone
I got a question ;)
Actually I want to use core-data in different threads. I have two UIviews that display data from the same table in the database.
If a remove an entry in the first view I'm supposed save and then ask the PersistentStoreCoordinator to give me (the UIview) a brain new managed object. That what they say in the official video "working with core data" on itunesU
With the great messaging system from cocoa I can deal with a basic synchronization. ( I send a 'has to get new MO' message )
But how am I supposed to properly save and 'close' the DB and then get another managed object.
<### update ###>
I have 2 viewController, one for each of the views I'm deallin with.
If I set up a coredata stack on each of the ViewControllers the data is reachable from each view but no sync.
But if I put a core data stack in the AppDelegate I got an Exception :
*** Terminating app due to uncaught exception 'NSObjectInaccessibleException',
reason: 'CoreData could not fulfill a fault for '0x498f600 <x-coredata:...>'
what should I do ?
<### update ###>
Thanks in advance for any help on this ;)