RKObjectLoaderDelegate Protocol Reference
Conforms to | RKRequestDelegate |
Declared in | RKObjectLoader.h |
Tasks
-
– objectLoader:didLoadObjects:
Sent when an object loader has completed successfully and loaded a collection of mapped objects
required method -
– objectLoader:didFailWithError:
Sent when an object loaded failed to load the collection due to an error
required method -
– objectLoaderDidLoadUnexpectedResponse:
Sent when an object loader encounters a response status code it does not know how to handle. 2xx, 4xx, and 5xx responses are all handled appropriately. This should only occur when the remote service sends back a really odd-ball response.
Instance Methods
objectLoader:didFailWithError:
Sent when an object loaded failed to load the collection due to an error
- (void)objectLoader:(RKObjectLoader *)objectLoader didFailWithError:(NSError *)error
Declared In
RKObjectLoader.h
objectLoader:didLoadObjects:
Sent when an object loader has completed successfully and loaded a collection of mapped objects
- (void)objectLoader:(RKObjectLoader *)objectLoader didLoadObjects:(NSArray *)objects
Declared In
RKObjectLoader.h
objectLoaderDidLoadUnexpectedResponse:
Sent when an object loader encounters a response status code it does not know how to handle. 2xx, 4xx, and 5xx responses are all handled appropriately. This should only occur when the remote service sends back a really odd-ball response.
- (void)objectLoaderDidLoadUnexpectedResponse:(RKObjectLoader *)objectLoader
Discussion
@optional
Declared In
RKObjectLoader.h