Inherits from MCOIMAPBaseOperation : MCOOperation : NSObject
Declared in MCOIMAPMessageRenderingOperation.h
MCOIMAPMessageRenderingOperation.mm

Overview

The class is used to get the HTML string of a message.

Tasks

Other Methods

Other Methods

Instance Methods

cancel

Cancel the operation.

- (void)cancel

Declared In

MCOOperation.h

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 ( ^ ) ( NSString *htmlString , NSError *error ))completionBlock

Parameters

completionBlock

Called when the operation is finished.

  • On success error will be nil and htmlString will contain the message

  • On failure, error will be set and htmlString will be nil

Declared In

MCOIMAPMessageRenderingOperation.h