Skip to content

StevenDXC/DxRefreshView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DxRefreshView

模仿锤子手机的下拉刷新效果.基于swift 3.0编写

Demo:

image

Usage:

let refreshHeader:DxRefreshView = DxRefreshView();
refreshHeader.color = UIColor.blue;
refreshHeader.actionHandler = {
    //刷新数据
};
tableView.setRefreshHeader(refreshHeader: refreshHeader);

数据刷新完成之后,停止刷新动画:

scrollView.endRefreshing();

不通过下拉触发,直接开始刷新:

scrollView.beginRefreshing();

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages