Latest 1.1.4
Homepage https://github.com/onlylin/LiNRefresh
License MIT
Platforms ios 8.0
Authors

参考MJRefresh的一个Swift版本的下拉刷新控件,目前只实现最基本的下拉刷新功能:LiNRefreshNormalHeaderLiNRefreshAutoNormalFooter

Screenshot

 screenshot

Pull-down

“`Swift N
self.tableView.ln_header = LiNRefreshNormalHeader{
//refresh code
self.tableView.ln_header?.endRefreshing()
}

## Pull-up
```Swift
  self.tableView.ln_footer = LiNRefreshAutoNormalFooter{
      //refresh code
      self.tableView.ln_footer?.endRefreshing()
  }

No More Data

  self.tableView.ln_footer?.noticeNoMoreData()

Reset No More Data

  self.tableView.ln_footer?.resetNoMoreData()

CocoaPods

  pod 'LiNRefresh', '~> 1.1.4'

Latest podspec

{
    "name": "LiNRefresh",
    "version": "1.1.4",
    "summary": "A simple drop-down refresh widget with Swift",
    "description": "LNRefresh Private Podspec.nA simple drop-down refresh widget with Swift",
    "homepage": "https://github.com/onlylin/LiNRefresh",
    "license": "MIT",
    "authors": {
        "Lin": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/onlylin/LiNRefresh.git",
        "tag": "1.1.4"
    },
    "source_files": "LiNRefresh/**/*.swift",
    "resources": "LiNRefresh/**/LiNRefresh.bundle"
}

Pin It on Pinterest

Share This