Skip to content

jungseungyeo/SwiftlyIndicator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

33 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.