Instance Property


The blocks associated with the receiver.


var executionBlocks: [() -> Void] { get }


The blocks in this array are copies of those originally added using the addExecutionBlock(_:) method.

See Also

Managing the Blocks in the Operation

init(block: () -> Void)

Creates and returns an NSBlockOperation object and adds the specified block to it.

func addExecutionBlock(() -> Void)

Adds the specified block to the receiver’s list of blocks to perform.

Beta Software

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.

Learn more about using Apple's beta software