TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Jun 2017 |
SwiftSwift Version | 3.0 |
SPMSupports SPM | ✗ |
Maintained by cbangchen.
Dribbble网址:Daily-UI-094-News,点击 此处 查看详细教程
let tableViewWrapper = PullToRefleshView(scrollView: yourTableView)
bodyView.addSubview(tableViewWrapper)
The color of the wrapper will be same as your scrollView’s background color.
tableViewWrapper.didPullToRefresh = {
//you can do anythings you want after beginning to reflesh
}
You can end the reflesh simplily
tableViewWrapper.endReflesh()