RKResponse should start loading on didReceiveData: or didSendBodyData, whichever is called first.

This prevents didSendData RKRequestDelegate method from being called before didStartLoading.

Remove goOffline and goOnline support from RKObjectManager. This did not work in the current implementation.
This commit is contained in:
Jeremy Ellison
2011-01-12 13:20:26 -05:00
parent a4e7e60467
commit 634185f48a
3 changed files with 14 additions and 35 deletions

View File

@@ -32,7 +32,6 @@ typedef enum {
NSObject<RKRouter>* _router;
RKManagedObjectStore* _objectStore;
RKObjectManagerOnlineState _onlineState;
BOOL _onlineStateForced;
}
/**
@@ -75,16 +74,6 @@ typedef enum {
*/
@property (nonatomic, retain) RKClient* client;
/**
* Puts the manager into offline mode. Requests will not be sent.
*/
- (void)goOffline;
/**
* Puts the manager into online mode. Requests will be sent.
*/
- (void)goOnline;
/**
* True when we are in online mode
*/