Conforms to NSObject
NSXMLParserDelegate
Declared in MBQueryDelegate.h

Overview

Delegate for MBQuery

Tasks

Instance Methods

query:didCompleteRequest:withError:

Error Callback

- (void)query:(MBQuery *)query didCompleteRequest:(MBRequest *)request withError:(NSError *)error

Parameters

query

The query object that handled the request

request

The request

error

The error object (if any)

Discussion

Error Callback

MBQuery will send a message to the delegate whenever anything causes the request to fail. If there is any error information, it will be sent as well.

Declared In

MBQueryDelegate.h

query:didCompleteRequest:withResult:

Success Callback

- (void)query:(MBQuery *)query didCompleteRequest:(MBRequest *)request withResult:(MBMetadata *)result

Parameters

query

The query object that handled the request

request

The request

result

The result

Discussion

Success Callback

MBQuery will send a message to the delegate when the request is finished and successful.

Declared In

MBQueryDelegate.h