SpinningIndicator
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Requirements
Installation
SpinningIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SpinningIndicator'
Sample Code
let indicator = SpinningIndicator(frame: UIScreen.main.bounds)
view.addSubview(indicator)
indicator.addCircle(lineColor: UIColor(red: 255/255, green: 91/255, blue: 25/255, alpha: 1), lineWidth: 2, radius: 16, angle: 0)
indicator.addCircle(lineColor: UIColor.orange, lineWidth: 2, radius: 19, angle: CGFloat.pi)
indicator.beginAnimating()
Author
Toshihiro Yamazaki, [email protected]
License
SpinningIndicator is available under the MIT license. See the LICENSE file for more info.