Core Data passing context between methods on secondary threads
- by JK
My app spawns a secondary thread for some core data store maintenance. In the secondary thread, I set up a context which I then pass to other methods e.g. [self editEntriesInContext:context]. However, this causes objects fetched from the context to become invalidated in editEntries...
Why does this occur? I thought the only requirements were for the secondary thread to have its own context and managed objects, which I adhere to.
(Note: The context is properly retained)