https://github.com/marwendoukh/pulluptorefresh-ios
Pull up to refresh - iOS
https://github.com/marwendoukh/pulluptorefresh-ios
ios pull-up-refresh swift
Last synced: 11 months ago
JSON representation
Pull up to refresh - iOS
- Host: GitHub
- URL: https://github.com/marwendoukh/pulluptorefresh-ios
- Owner: marwendoukh
- License: mit
- Created: 2018-08-24T21:44:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-30T22:33:38.000Z (over 5 years ago)
- Last Synced: 2024-11-18T04:59:36.010Z (over 1 year ago)
- Topics: ios, pull-up-refresh, swift
- Language: Swift
- Homepage:
- Size: 42 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://cocoapods.org/pods/PullUpToRefresh)
[](https://cocoapods.org/pods/PullUpToRefresh)
# 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.