Programming Guide

Composed Operation

ComposedOperation is a simple operation which allows composition of any NSOperation subclass inside an Operation. This is very useful if it is necessary to execute an NSOperation from a Cocoa system in your OperationQueue.

let composed = ComposedOperation(bogStandardOperation)
queue.addOperation(composed)

The composed operation is available as a property of the ComposedOperation. Thanks to generics, the full type of the composed operation is available.