Permalink
Browse files

Add infinite scrolling to demo project.

  • Loading branch information...
1 parent 358705c commit 5b3e20153f95c6386e704eeb9970d6bf51e73b73 @samvermette committed Jun 3, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Demo/SVPullToRefreshDemo/SVViewController.m
@@ -25,6 +25,10 @@ - (void)viewDidLoad {
[tableView.pullToRefreshView performSelector:@selector(stopAnimating) withObject:nil afterDelay:2];
}];
+ [self.tableView addInfiniteScrollingWithActionHandler:^{
+ NSLog(@"load more data");
+ }];
+
// trigger the refresh manually at the end of viewDidLoad
[tableView.pullToRefreshView triggerRefresh];

0 comments on commit 5b3e201

Please sign in to comment.