How to correctly propagate delete from main thread's NSManagedObjectContext to child context on a background thread?
I'm trying to figure out how to solve the following situation There's a main thread NSManagedObjectContext with NSMainQueueConcurrencyType . It spawns several background threads giving them the NSManagedObjectID of some object they will work on. Background threads perform some work (e.g. send the object data to the server, receive response and update the object accordingly). Threads use child contexts with NSConfinenmentConcurrencyType Meanwhile the user deletes the object from main thread's context (via UI). Background contexts should be notified about this and handle the situation to prevent