DotLoadingIndicator
示例
https://www.youtube.com/watch?v=bVFdYGB3F1A&feature=youtu.be
要运行示例项目,请首先克隆仓库,然后从 Example 目录运行 pod install
需求
安装
DotLoadingIndicator 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中
pod 'DotLoadingIndicator'
如何使用?
在 storyboard 中,您需要创建一个 DotLoadingView
在 Swift 代码中,您无法设置圆形进度条的值。
@IBAction func clickShowFullScreenButton(_ sender: Any) {
LoadingView.shared.show()
}
@IBAction func clickShowNotFullScreenButton(_ sender: Any) {
LoadingView.shared.show(type: .notFullScreen)
}
作者
[email protected], [email protected]
许可协议
DotLoadingIndicator 基于 MIT 许可协议发布。更多信息请参阅 LICENSE 文件。