Sets the block to execute when the operation has finished executing.
Original signature is '- (void)setCompletionBlock:(void (^)(void))block'
Available in Mac OS X v10.6 and later.
Declaration Syntax
Parameters
- block (Action)
- The block to be executed when the operation finishes. This method creates a copy of the specified block. The block itself should take no parameters and have no return value.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)