Added convenience accessors on RKObjectManager for the requestCache and requestQueue. Cleaned up some styling and normalized method names.

This commit is contained in:
Blake Watters
2011-09-06 11:36:50 -04:00
parent e5ac48d47f
commit 4299cab994
6 changed files with 117 additions and 81 deletions

View File

@@ -128,13 +128,25 @@ typedef enum {
*/
- (id)initWithBaseURL:(NSString*)baseURL;
/// @name Other Methods
/// @name Network Integration
/**
The underlying HTTP client for this manager
*/
@property (nonatomic, retain) RKClient* client;
/**
The request cache used to store and load responses for requests sent
through this object manager's underlying client object
*/
@property (nonatomic, readonly) RKRequestQueue *requestQueue;
/**
The request queue used to dispatch asynchronous requests sent
through this object manager's underlying client object
*/
@property (nonatomic, readonly) RKRequestCache *requestCache;
/**
True when we are in online mode
*/