Protocol: SKRequestDelegate
Overview
The SKRequestDelegate protocol declares common methods that are implemented by delegates for any subclass of the SKRequest abstract class.Called if the request failed to execute.Called when the request has completed.
Instance Method Summary (collapse)
-
- request:didFailWithError:
Called if the request failed to execute.
-
- requestDidFinish:
Called when the request has completed.
Instance Method Details
- (Object) request(request, didFailWithError:error)
Called if the request failed to execute. When the request fails, your application should release the request. The requestDidFinish: method is not called after this method is called.
- (Object) requestDidFinish(request)
Called when the request has completed. This method is called after all processing of the request has been completed. Typically, subclasses of SKRequest require the delegate to implement additional methods to receive the response. When this method is called, your delegate receives no further communication from the request and can release it.