UIScrollView
public extension UIScrollView
-
添加头部刷新
Declaration
Swift
func addHeaderRefresh(closure: @escaping MJRefreshComponentAction)
Parameters
closure
刷新回调
-
开始头部刷新
Declaration
Swift
func beginHeaderRefresh()
-
结束头部刷新
Declaration
Swift
func endHeaderRefresh()
-
添加脚部自动刷新,一般用这个
Declaration
Swift
func addAutoFooterRefresh(closure: @escaping MJRefreshComponentAction)
Parameters
closure
刷新回调
-
添加脚部返回刷新
Declaration
Swift
func addBackFooterRefresh(closure: @escaping MJRefreshComponentAction)
Parameters
closure
刷新回调
-
开始脚部刷新
Declaration
Swift
func beginFooterRefresh()
-
结束脚部刷新
Declaration
Swift
func endFooterRefresh()
-
重置没有更多的数据
Declaration
Swift
func resetNoMoreData()
-
提示没有更多的数据
Declaration
Swift
func endRefreshingWithNoMoreData()