MHProgressButton
在您的 UIButton 上查看加载进度
安装
$ pod install MHProgressButton
或者在您的 Podfile 中
pod 'MHProgressButton'
用法
将一个 UIButton 添加到视图中,并使用 MHProgressButton 子类化它。根据需要设置背景颜色,并设置进度颜色,然后调用 linearLoadingWith(progress: CGFloat) 方法,并传入您的进度百分比... 哇哦..
待办事项
添加无限和脉冲式加载效果
请贡献力量
对 Develop 分支进行分支操作/编辑/和拉取请求。