mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-23 20:31:13 +08:00
Numerous cleanups to the DiscussionBoard example. Need to finish working through cleanups to the authentication process and polish off documentation. Should be ready for merge tomorrow night.
This commit is contained in:
@@ -172,6 +172,11 @@ typedef enum RKRequestMethod {
|
||||
*/
|
||||
- (BOOL)isLoaded;
|
||||
|
||||
/**
|
||||
* Returns YES when the request was sent to the specified resource path
|
||||
*/
|
||||
- (BOOL)wasSentToResourcePath:(NSString*)resourcePath;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
|
||||
@@ -272,4 +272,8 @@
|
||||
return resourcePath;
|
||||
}
|
||||
|
||||
- (BOOL)wasSentToResourcePath:(NSString*)resourcePath {
|
||||
return [[self resourcePath] isEqualToString:resourcePath];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user