mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-22 20:18:53 +08:00
Improved Three20 integration by leveraging object mapping to instantiate TTTableItems
This commit is contained in:
@@ -34,4 +34,9 @@
|
||||
*/
|
||||
@property (nonatomic, retain) NSNumber* topicID;
|
||||
|
||||
/**
|
||||
The Three20 Navigator URL to this Topic
|
||||
*/
|
||||
@property (nonatomic, readonly) NSString* topicNavURL;
|
||||
|
||||
@end
|
||||
|
||||
@@ -18,4 +18,8 @@
|
||||
return [self.topicID intValue] == 0;
|
||||
}
|
||||
|
||||
- (NSString*)topicNavURL {
|
||||
return RKMakePathWithObject(@"db://topics/(topicID)/posts", self);
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user