BDKCoreDataStore & BDKCoreDataOperation
These two classes are designed to work together to provide access to a common Core Data store, along with the contexts that go with it. The main NSManagedObjectContext
is designed to be accessed on the main thread only. Safe background operations happen in a background NSOperationQueue
to ensure that multiple reads and writes don't step on each others' toes.
It could use a tad of cleanup, but it's served me well for a few apps.