Index

RBOperation.swift

Classes


RBOperation

An operation with convenience subclassing hooks.

Properties

public var isConcurrent Bool { get }

public var isCancelled Bool { get }

public var isExecuting Bool { get }

public var isFinished Bool { get }

Functions

Add the operation to a queue.
@param operationQueue : The operation queue to add the operation to.
public func add(to operationQueue: OperationQueue)

Completes the operation.
public func done()

public func setExecuting(_ executing: Bool)

public func setFinished(_ finished: Bool)

public func setCancelled(_ cancelled: Bool)

Called when the operation has begun processing.
public func operationDidStart()

Called when the operation has finished processing.
public func operationDidFinish()

Called when the operation has been cancelled.
public func operationDidCancel()