ABLoadingView 0.1.2

ABLoadingView 0.1.2

Andreas Bagias 维护。



  • andreasbagias

ABLoadingView

CI Status Version License Platform

示例

要求

安装

ABLoadingView 可通过 CocoaPods 获得。要安装它,请简单地将其以下行添加到您的 Podfile

pod 'ABLoadingView'

如何使用

//to start the default loading view just call
LoadingView.shared.start()

//to end the default loading view just call
LoadingView.shared.stop()

//to modify the appearance call the following
LoadingView.shared.cancelationEnabled(true)
LoadingView.shared.percentageEnabled(true)
LoadingView.shared.blurEnabled(false)

//percentage is a int from 0 to 100
LoadingView.shared.updatePercentage(percentage)

//the default values are:
//cancellation = false
//percentage = false
//blurEnabled = enabled

作者

andreasbagias,[email protected]

许可

ABLoadingView 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。