Skip to content

Commit 14489c0

Browse files
Merge pull request #8 from simformsolutions/develop
Develop
2 parents fc808cd + 40791eb commit 14489c0

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ SSSpinnerButton is an elegant button with a different spinner animations.
1313

1414
# Features!
1515
- Rounded button when spinner active
16-
- Various spinner animations
16+
- Various spinner animations
17+
- Dynamic spinner size
1718
- CocoaPods
1819

1920
# Requirements
@@ -42,13 +43,16 @@ SSSpinnerButton is an elegant button with a different spinner animations.
4243
- ![Alt text](https://github.com/simformsolutions/SSSpinnerButton/blob/master/SpinnerButtonStoryBoard.png?raw=true)
4344

4445
**StartAnimation**
45-
46-
button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, complete: nil)
46+
47+
button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, spinnerSize: 20, complete: {
48+
// Your code here
49+
})
4750

4851

4952
**StopAnimation**
5053

51-
button.stopAnimate(complete: {
54+
button.stopAnimate(complete: {
55+
// Your code here
5256
})
5357

5458

@@ -77,4 +81,4 @@ SSSpinnerButton is an elegant button with a different spinner animations.
7781
[cocoa-image]:https://img.shields.io/cocoapods/v/EZSwiftExtensions.svg
7882
[cocoa-url]:https://img.shields.io/cocoapods/v/LFAlertController.svg
7983
[PR-image]:https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
80-
[PR-url]:http://makeapullrequest.com
84+
[PR-url]:http://makeapullrequest.com

SSSpinnerButton.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Pod::Spec.new do |s|
1010
s.name = "SSSpinnerButton"
11-
s.version = "1.0.2"
11+
s.version = "1.0.3"
1212
s.summary = "SSSpinnerButton is an elegant button with a different spinner animations."
1313

1414
#s.description = "SSSpinnerButton is an elegant button with a different spinner animations."

0 commit comments

Comments
 (0)