To run the example project, clone the repo, and run pod install
from the Example directory first.
Xcode 8, Swift 3
CircleLoading is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'CircleLoading'
Default
circleLoading.start()
Custom
// Set colors
circleLoading.colors(color1: UIColor.red, color2: UIColor.red, color3: UIColor.red)
// Set duration
circleLoading.duration = 5.0
// Start animation
circleLoading.start()
// Pause animation
circleLoading.pause()
// Resume animation
circleLoading.resume()
// Stop animation and hide layers
circleLoading.stop()
goldmoment, nguyenvanvienqn@gmail.com
CircleLoading is available under the MIT license. See the LICENSE file for more info.