CocoaPods trunk is moving to be read-only. Read more on the blog, there are 11 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Nov 2017 |
| SPMSupports SPM | ✗ |
Maintained by JerryWong.
A refresh control(refresh header & footer for scrollview) for iOS app.
self.tableView.addRefreshHeader { [weak self] (header) in
//fetch data and reload UI
}self.tableView.addRefreshFooter { [weak self] (footer) in
//fetch data and reload UI
}self.webView.scrollView.addCustomRefreshHeader { [weak self] (header: RefreshHeaderControl<SloganHeaderContentView>) in
self?.webView.reload()
header.loadedSuccess()
}self.tableView.refreshHeader.loadedSuccess()self.tableView.refreshHeader.loadedError(withMsg: "Network Error")self.tableView.refreshFooter.loadedPause(withMsg: "No More Data")self.tableView.refreshHeader.stopLoading()CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries. You can install it with the following command:
$ gem install cocoapodsTo integrate JWIntent into your Xcode project using CocoaPods, specify it in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
pod 'JWRefreshControl'Then, run the following command:
$ pod install(MIT license)