mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-06 17:32:52 +08:00
Use delegate pattern for canceled login.
Move isNewRecord to model level. Create rkcurl script.
This commit is contained in:
@@ -100,4 +100,8 @@
|
||||
return params;
|
||||
}
|
||||
|
||||
- (BOOL)isNewRecord {
|
||||
return [[self postID] intValue] == 0;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user