Latest 1.0.0
Homepage https://github.com/sigurnna/PullToRefresh
License MIT
Platforms ios 9.0
Authors

PullToRefresh

PullToRefresh base on UITableView using Swift.

How to use?

You can use PullToRefresh both on code and interface builder.

IBOutlet weak var tableView: UIPullToRefreshTableView!

tableView.loadingHandler = { [weak self] in
  //
  // some loading logic you must write...
  //

  self?.tableView.loadingComplete()
}

You must call "loadingComplete", otherwise the refresh animation will not end.

How to install

writing…

Latest podspec

{
    "name": "UIPullToRefreshTableView",
    "version": "1.0.0",
    "summary": "UIPullToRefreshTableView inherit from UITableView",
    "description": "Using Swift4",
    "homepage": "https://github.com/sigurnna/PullToRefresh",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "seungjun.lee": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/sigurnna/PullToRefresh.git"
    },
    "source_files": "UIPullToRefreshTableView/*.{h,m,swift}",
    "swift_version": "4.1"
}

Pin It on Pinterest

Share This