NSManagedObjectContext and GCD

Apple 's Master Data Programming Guide :

You must give each topic its own fully private managed context object and maintain graphs of objects divided by for each thread.

How does this scale apply to Grand Central Dispatch, where you have absolutely no control over the streams that are automatically created on your behalf?

Now I have to do one NSManagedObjectContextfor each send queue, but that thing: the send queue does not necessarily use the same thread every time, right?

+5
source share
2 answers
0

All Articles