Can two managed object context share one single persistent store coordinator?
Posted
by mystify
on Stack Overflow
See other posts from Stack Overflow
or by mystify
Published on 2010-06-07T11:28:25Z
Indexed on
2010/06/07
11:32 UTC
Read the original article
Hit count: 220
Example: I have one persistent store coordinator which uses one single persistent store.
Now there are two managed object contexts, and both want to use the same persistent store. Could both simply use the same persistent store coordinator, or would I have to create two instances of NSPersistentStoreCoordinator? And if I had to, then: Would I also have to create two NSPersistentStore instances?
© Stack Overflow or respective owner