MCOPOPOperation Class Reference
Inherits from | MCOOperation : NSObject |
Declared in | MCOPOPOperation.h MCOPOPOperation.mm |
Instance Methods
operationCompleted
This methods is called on the main thread when the asynchronous operation is finished. Needs to be overriden by subclasses.
- (void)operationCompleted
Declared In
MCOOperation.h
start:
Starts the asynchronous operation.
- (void)start:(void ( ^ ) ( NSError *error ))completionBlock
Parameters
- completionBlock
Called when the operation is finished.
On success
error
will be nilOn failure,
error
will be set withMCOErrorDomain
as domain and an error code available in MCOConstants.h,
Declared In
MCOPOPOperation.h