Improved Three20 integration by leveraging object mapping to instantiate TTTableItems

This commit is contained in:
Blake Watters
2011-06-09 16:01:11 -04:00
parent 7bf3e0f273
commit 69ded29245
10 changed files with 205 additions and 139 deletions

View File

@@ -34,4 +34,9 @@
*/
@property (nonatomic, retain) NSNumber* topicID;
/**
The Three20 Navigator URL to this Topic
*/
@property (nonatomic, readonly) NSString* topicNavURL;
@end

View File

@@ -18,4 +18,8 @@
return [self.topicID intValue] == 0;
}
- (NSString*)topicNavURL {
return RKMakePathWithObject(@"db://topics/(topicID)/posts", self);
}
@end