项目作者: marwendoukh

项目描述 :
Pull up to refresh - iOS
高级语言: Swift
项目地址: git://github.com/marwendoukh/PullUpToRefresh-iOS.git
创建时间: 2018-08-24T21:44:40Z
项目社区:https://github.com/marwendoukh/PullUpToRefresh-iOS

开源协议:MIT License

下载


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

  1. 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.