MCOIMAPSearchOperation Class Reference
Inherits from | MCOIMAPBaseOperation : MCOOperation : NSObject |
Declared in | MCOIMAPSearchOperation.h MCOIMAPSearchOperation.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 search operation.
- (void)start:(void ( ^ ) ( NSError *error , MCOIndexSet *searchResult ))completionBlock
Parameters
- completionBlock
Called when the operation is finished.
On success
error
will be nil andsearchResults
will contain the UIDs of any matching messagesOn failure,
error
will be set withMCOErrorDomain
as domain and an error code available in MCOConstants.h,searchResult
will be nil
Declared In
MCOIMAPSearchOperation.h