Skip to content

Simple Loading view with customisation written in swift

License

Notifications You must be signed in to change notification settings

andreasbagias/ABLoadingView

Repository files navigation

ABLoadingView

CI Status Version License Platform

Example

Requirements

Installation

ABLoadingView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ABLoadingView'

How to Use

//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

Author

andreasbagias, [email protected]

License

ABLoadingView is available under the MIT license. See the LICENSE file for more info.

About

Simple Loading view with customisation written in swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published