Forget about typical stereotypic loading, It's time to change. SSSpinnerButton is an elegant button with a diffrent spinner animations.
-- Carthage support added for iOS platform
Swift 4.2
Shadow_Issue_fix Update attributed & normal title for all states of the button fix the issue of the inserted gradient layer
Attributed text issue fixed. Now spinner button work with attributed text
SSSpinnerButton is now enhanced with completion types. The completion types are success, error and fail, so user can now stop animate with the completion type and it will show the marks(success = ✓, error = ! and fail = ✕) for that. We just added animation for completion type checkmark and user can also back to default state as well.
Now you can customize spinner size.
Ex: button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, spinnerSize: 20, complete: { // Your code here })
Fixed minor typo error.