项目介绍:
FNRentalPullToRefresh
用Swift实现的Yalantis的Pull-to-Refresh.Rentals-iOS下拉刷新动画.
基础使用Demo: [Actionscript3] 查看源文件 复制代码
func delayStopDrop() {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(2 * Double(NSEC_PER_SEC))), dispatch_get_main_queue(), { () -> Void in
self.tableView.reloadData()
self.tableView.easy_stopDropPull()
})
}
let customDropView = FNRentalPullToRefreshHeaderView.init(frame: CGRectMake(0, -110, view.frame.size.width, 110))
tableView.easy_addDropPull({
NSLog("Run")
delayStopDrop()
}, customDropView: customDropView)
效果:
来源:OC原版是 Yalantis 的 Pull-to-Refresh.Rentals-iOS
DEMO直接下载:
