#CBPullToReflesh
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()