Creates and returns an NSBlockOperation object and adds the specified block to it.
On This Page
+ (instancetype)blockOperationWithBlock:(void (^)(void))block;
The block to add to the new block operation object’s list. The block should take no parameters and have no return value.
A new block operation object.
Adds the specified block to the receiver’s list of blocks to perform.
The blocks associated with the receiver.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.