The executeBlock: and executeBlockAndWait: methods have been added to NSManagedObjectContext to make concurrency easier to create. I use them - potentially quite naively - and I just realized that there is a question that I never asked.
If I subclass NSManagedObject inside one of the executeBlock methods, the stream "home" is the stream of its parent context, which in the case of NSPrivateQueueConcurrencyType is probably an independent stream, I have no other access.
So what do I need to make an executeBlock call just to access the data contained within my managed objects? Or is there some background magic that helps protect me when using getters? (Or setters, although this seems like a bad idea ...)
source share