Skip to content

Conversation

@praveenaj
Copy link

Steps:

/* ExampleViewController.m */

- (void)viewDidLoad
{
    [super viewDidLoad];

    //configure swipeView
    _swipeView.pagingEnabled = YES;
    _swipeView.pullToRefresh = YES; // Adds UIRefreshControl
    _swipeView.vertical = YES; // Must be vertical for UIRefreshControl to work
}

/* Handler for UIRefreshControl */

-(void)swipeViewHandleRefresh:(SwipeView *)swipeView{
    // Perform network call
   // [_swipeView.refreshControl endRefreshing];
}

@JubrilO
Copy link

JubrilO commented Jan 27, 2017

Thanks @praveenaj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants