SwiftlyIndicator 1.2.0

SwiftlyIndicator 1.2.0

linsaeng 维护。



  • 作者:
  • linsaeng

SwiftlyIndicator

Swift CocoaPods License


安装

pod 'SwiftlyIndicator'

示例

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

作者

LinSaeng

许可证

SwiftlyIndicator 采用 MIT 许可证授权。有关详细信息,请查看 LICENSE 文件。