jungseungyeo / SwiftlyIndicator

πŸ˜€βš™οΈ SwifitlyIndicator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

πŸ˜€βš™οΈ SwifitlyIndicator


Languages

Language:Swift 89.1%Language:Ruby 7.4%Language:Objective-C 3.5%