- To run the example project, clone the repo, and run
pod install
from the Example directory first.
- iOS 9.0 or later
- Swift 3.0 or later
- LoaderButton is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'LoaderButton'
import UIKit
import LoaderButton
- Usage example
/// start animation
button.startAnimate(loaderType: .rotateChase, loaderColor: .white, complete: nil)
/// stop animation
button.stopAnimate(complete: nil)
- LoaderButton is available under the MIT license. See the LICENSE file for more info.
- LoaderButton animations inspired from NVActivityIndicatorView