Skip to content

Feature Request: Private ManagedObjectContext with new PersistentStoreCoordinator #30

@ParmeshwarBayappu

Description

@ParmeshwarBayappu

For the purpose of import/sync in background I see the value in including a method to return a new ManagedObjectContext of NSPrivateQueueConcurrencyType with new instance of PersistentStoreCoordinator (same store and model as the main managedObjectContext).

You have implemented this in your MDMHPCoreData library. Including this in the MDMCoreData library would serve the typical need for this and promote the best practice of doing large imports in the background without blocking the UI during read operations.
(https://github.com/mmorey/MDMHPCoreData/blob/master/MDMHPCoreData/MDMHPCoreData/model/MDMPersistenceStack.m - newPrivateManagedObjectContextWithNewPersistentStoreCoordinator)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions