Skip to content

Swift pull to refresh and infinite scrolling finally met for your favorites UITableView & UICollectionView

License

Notifications You must be signed in to change notification settings

duk42111/HWPullToInfinity

 
 

Repository files navigation

HWPullToInfinity


Swift pull to refresh and infinite scrolling finally met for your favorites UITableView & UICollectionView

Swift 2 compatible MIT license

  • Pull to refresh
  • Infinite scroll
  • UITableView / UICollectionView compatibility
  • Vertical / horizontal support


##Pull to refresh

tableView.addPullToRefreshWithActionHandler { () -> Void in
  // TODO
  self.tableView.stopPullToRefresh()
}
tableView.pullRefreshColor = UIColor.darkGrayColor()
    

##Infinite scroll

tableView.addInfiniteScrollingWithActionHandler { () -> Void in
  // TODO
  self.tableView.infiniteScrollingView.stopAnimating()
}
tableView.infiniteScrollingView.color = UIColor.darkGrayColor()
    

##Requirements

  • iOS 8.0+

Contact

Hugues Blocher

License

HWPullToInfinity is available under the MIT license.

About

Swift pull to refresh and infinite scrolling finally met for your favorites UITableView & UICollectionView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%