Refactored object loaders to provide easier support for non-nested JSON responses. There are new flavors of getObject:, postObject:, etc.

that allow the developer to explicitly specify the object mapping to use for processing the response. closes #168
This commit is contained in:
Blake Watters
2011-06-30 09:37:53 -04:00
parent e18c1f2811
commit 2ac45f5ccc
12 changed files with 188 additions and 79 deletions

View File

@@ -199,11 +199,10 @@ typedef enum RKRequestBackgroundPolicy {
*/
- (id)initWithURL:(NSURL*)URL delegate:(id)delegate;
/**
* Setup the NSURLRequest. The request must be prepared right before dispatching
*/
- (void)prepareURLRequest;
- (BOOL)prepareURLRequest;
/**
* Resets the state of an RKRequest so that it can be re-sent.