SwiftlyIndicator
Installation
pod 'SwiftlyIndicator'
Example
import SwiftlyIndicator
override func viewDidLoad() {
// Setting SwiftlyIndicator type -- default type basic
view.setupSwiftlyIndicator(type: SwiftlyIndicatorType)
// Start SwiftlyIndicator
view.startWaiting()
// Stop SwiftlyIndicator
view.stopWaiting()
}
// SwiftlyIndicator type
public enum SwiftlyIndicatorType: Equatable {
case basic
case rotationBasic
case circleBasic
case image(images: [UIImage], chagedMilliseconds: Int)
case rotationImage(images: [UIImage])
}
type image
type rotationImage
type basic
type rotationBasic
Author
License
SwiftlyIndicator is licensed under the MIT license. Check the LICENSE file for details.