If I create a child context of type NSMainQueueConcurrencyType such as:
context = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
[context setParentContext:mainContext];
do I need to call [context performBlock:^{ // some code }];
or can I just use the context normally if I know the code is being executed on the main thread/queue?
Similarly, do I need to use performBlock on the UIManagedDocument's managedObjectContext property when I know the code is being executed on the main thread?
I think the answer to both questions is "no, you do not need to use performBlock", but I'd like to be certain.
Thanks,
Dave