Created
January 7, 2011 19:18
-
-
Save edwardinubuntu/769955 to your computer and use it in GitHub Desktop.
create model delegate
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma mark - | |
#pragma mark TTModelViewController method | |
- | |
(void)createModel { | |
TTDPRINT(@"Begain"); | |
self.dataSource = [[[RSSFeedDataSource alloc] | |
initWithSearchQuery:kBlogAccount] autorelease]; | |
} | |
#pragma mark - | |
#pragma mark TTTableViewController method | |
- (id<UITableViewDelegate>)createDelegate { | |
TTDPRINT(@"Begin"); | |
return [[[TTTableViewDragRefreshDelegate alloc] | |
initWithController:self] autorelease]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment