Skip to content

marwendoukh/PullUpToRefresh-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CocoaPods Compatible Platform

Icon made by Smashicons from www.flaticon.com

PullUpToRefresh - iOS

Pull up to refresh is a Swift library that adds pull to refresh capability to tableview bottom.

Install

Add this to your Podfile

pod 'PullUpToRefresh'

How to use it ?

  • Set your tableview custom Class to PullUpToRefreshTableview

  • Implement the PullUpToRefreshTableviewDelegate in your UIViewController

Customization

  • bottomView : the view at the bottom that will be shown when refreshing

  • differenceThreshold : set how much you want to scroll in the bottom in order to show the bottom view

  • refreshThreshold : set how much you want to scroll in the bottom in order to start refreshing

Questions or Suggestions ?

Please do not hesitate to contact me.