RBOperation Class Reference

Inherits from NSOperation
Conforms to RBCancellableTask
Declared in RBOperation.h

Overview

An operation with convenience subclassing hooks.

– addToOperationQueue:

Add the operation to a queue.

- (void)addToOperationQueue:(nonnull NSOperationQueue *)operationQueue

Parameters

operationQueue

The operation queue to add the operation to.

Discussion

Add the operation to a queue.

Declared In

RBOperation.h

– done

Completes the operation.

- (void)done

Discussion

Completes the operation.

Declared In

RBOperation.h

– operationDidStart

Called when the operation has begun processing.

- (void)operationDidStart

Discussion

Called when the operation has begun processing.

Declared In

RBOperation.h

– operationDidFinish

Called when the operation has finished processing.

- (void)operationDidFinish

Discussion

Called when the operation has finished processing.

Declared In

RBOperation.h

– operationDidCancel

Called when the operation has been cancelled.

- (void)operationDidCancel

Discussion

Called when the operation has been cancelled.

Declared In

RBOperation.h