开发者

i looking for how make a refresh of tableView in pulling down?

if anyone can help me 开发者_运维知识库for make that (pull down to refresh):

source: http://cdn.iphone4jailbreak.org/wp-content/uploads/pull-to-refresh-jailbreak-app-iphone-4.jpg


There are several resources to do that:

  • EGOTableViewPullRefresh - An open source project hosted on GitHub.
  • This tutorial from CocoaNetics.
  • Included in the three20 library


You can take all needful source codes here: EGOTableViewPullRefresh


You can subclass TTTableViewController and then delegate it to TTTableViewDragRefreshDelegate.

- (id<TTTableViewDelegate>) createDelegate {    
    TTTableViewDragRefreshDelegate *delegate = [[TTTableViewDragRefreshDelegate alloc] initWithController:self];

    return [delegate autorelease];
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜