/ Buttons

An elegant button with a diffrent spinner animations

An elegant button with a diffrent spinner animations

SSspinnerButton

SSSpinnerButton is an elegant button with a diffrent spinner animations.

Alt text

Features!

  • Rounded button when spinner active
  • Various spinner animations
  • CocoaPods

Requirements

  • iOS 10.0+
  • Xcode 9+

Installation

CocoaPods

  • You can use CocoaPods to install SSSpinnerButton by adding it to your Podfile:

     use_frameworks!
     pod 'SSSpinnerButton'
    
  •  import UIKit
     import SSSpinnerButton
    

Manually

  • Download and drop SSSpinnerButton folder in your project.
  • Congratulations!

Usage example

  • In the storyboard add a UIButton and change its class to SSSpinnerButton

  • Alt text

    StartAnimation

    button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, complete: nil)
    

    StopAnimation

    button.stopAnimate(complete: {
    })
    

GitHub