Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.22 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.22 KB

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.