/LoaderButton

LoaderButton is a very interesting animation loading button.

Primary LanguageSwiftMIT LicenseMIT

LoaderButton

Version pod build License platform

LoaderButton

Example

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

Screenshots

LoaderButton

Requirements

  • iOS 9.0 or later
  • Swift 3.0 or later

Installation

  • 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)

Author

jovinscoder@163.com

License

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

Inspired