Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marwendoukh/pulluptorefresh-ios

Pull up to refresh - iOS
https://github.com/marwendoukh/pulluptorefresh-ios

ios pull-up-refresh swift

Last synced: about 1 month ago
JSON representation

Pull up to refresh - iOS

Awesome Lists containing this project

README

        

[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/PullUpToRefresh.svg)](https://cocoapods.org/pods/PullUpToRefresh)
[![Platform](https://img.shields.io/cocoapods/p/PullUpToRefresh.svg)](https://cocoapods.org/pods/PullUpToRefresh)

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.