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)operationCompletedDeclared In
MCOOperation.hstart:
Starts the asynchronous search operation.
- (void)start:(void ( ^ ) ( NSError *error , MCOIndexSet *searchResult ))completionBlockParameters
- completionBlock
Called when the operation is finished.
On success
errorwill be nil andsearchResultswill contain the UIDs of any matching messagesOn failure,
errorwill be set withMCOErrorDomainas domain and an error code available in MCOConstants.h,searchResultwill be nil
Declared In
MCOIMAPSearchOperation.h