Pull up to refresh - iOS
Pull up to refresh is a Swift library that adds pull to refresh capability to tableview bottom.
Add this to your Podfile
pod 'PullUpToRefresh'
Set your tableview custom Class to PullUpToRefreshTableview
Implement the PullUpToRefreshTableviewDelegate
in your UIViewController
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
Please do not hesitate to contact me.