Skip to content

Instantly share code, notes, and snippets.

@edwardinubuntu
Created January 7, 2011 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edwardinubuntu/769955 to your computer and use it in GitHub Desktop.
Save edwardinubuntu/769955 to your computer and use it in GitHub Desktop.
create model delegate
#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