SDLoader
is easy to use and customisable HUD for showing ongoing activity for iPhone and iPad iOS devices.
To run the example project, clone the repo, and run pod install
from the Example directory first.
Swift 4.0
SDLoader is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SDLoader'
(see sample Xcode project in /Example)
let sdLoader = SDLoader()
sdLoader.startAnimating(atView: self.view)
sdLoader.stopAnimation()
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?
SDLoader is available under the MIT license. See the LICENSE file for more info.