Asynchronously performs a given block on the context’s queue.
On This Page
- (void)performBlock:(void (^)(void))block;
The block to perform.
You use this method to send messages to managed objects if the context was initialized using NSPrivateQueueConcurrencyType or NSMainQueueConcurrencyType.
This method encapsulates an autorelease pool and a call to processPendingChanges.
Synchronously performs a given block on the context’s queue.