Is initializing a NSManagedObjectContext
using NSMainQueueConcurrencyType
only for the situation where that MOC has a child MOC that was initialized using NSPrivateQueueConcurrencyType
?
To give some background: my app has a traditional structure whereby the main table view is driven by a NSFetchedResultsController
and data are imported asynchronously from a web service using an NSOperation
subclass that has its own MOC. I wasn't sure whether both MOCs in that situation should use NSConfinementConcurrencyType
(the default, I believe) or whether the MOC associated with the fetched results controller on the main thread should use NSMainQueueConcurrencyType
and the background MOC should use NSConfinementConcurrencyType
.