Skip to content

Latest commit

 

History

History
88 lines (57 loc) · 1.47 KB

README.md

File metadata and controls

88 lines (57 loc) · 1.47 KB

SwiftlyIndicator

Swift CocoaPods License


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

screenshot


type rotationImage

screenshot


type basic

screenshot


type rotationBasic

screenshot

Author

LinSaeng

License

SwiftlyIndicator is licensed under the MIT license. Check the LICENSE file for details.