SDLoader 0.2.0

SDLoader 0.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by sandip.



SDLoader 0.2.0

SDLoader

CI Status
Version
License
Platform

SDLoader is easy to use and customisable HUD for showing ongoing activity for iPhone and iPad iOS devices.

Demo

SDLoaders1
SDLoaders2
SDLoaders3
SDLoaders4

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Swift 4.0

Installation

SDLoader is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'SDLoader'

Usage

(see sample Xcode project in /Example)

Showing the Loader

 let sdLoader = SDLoader()
 sdLoader.startAnimating(atView: self.view)

Dismissing the Loader

sdLoader.stopAnimation()

Customization

public var background: UIColor?
public var font : UIFont?
public var textColor : UIColor?
public var message : String?
public var sectorColor : CGColor?
public var numberofSectors : Int?
public var spacing : Double?
public var lineWidth : CGFloat?
public var duration : CFTimeInterval?
public var cornerradius : CGFloat?
public var animationType: AnimationType?

Author

[email protected]

License

SDLoader is available under the MIT license. See the LICENSE file for more info.