Categories
Tutorial

Announcement: PullUpToRefresh is here !

This is a quick Blog post to annouce the new iOS library ‘PullUpToRefresh’ , written in Swift that add a pull from the bottom capability to UITableview.

How to install it ?

You could install it by adding this line 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

For more information about PullUpToRefresh, please visit PullUpToRefresh Github repository.

If you have any questions or suggestions, please do not hesitate to contact me.

Leave a Reply

Your email address will not be published. Required fields are marked *