Skip to content

Commit 18e9a37

Browse files
Swift logo changed to swift 5
1 parent ef7fc5f commit 18e9a37

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +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
17-
- Dynamic spinner size
16+
- Various spinner animations
17+
- Dynamic spinner size
1818
- Spinner with completion types (Success, fail, error)
1919
- CocoaPods
2020

@@ -44,28 +44,28 @@ SSSpinnerButton is an elegant button with a different spinner animations.
4444
- ![Alt text](https://github.com/simformsolutions/SSSpinnerButton/blob/master/SpinnerButtonStoryBoard.png?raw=true)
4545

4646
**StartAnimation**
47-
48-
button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, spinnerSize: 20, complete: {
49-
// Your code here
47+
48+
button.startAnimate(spinnerType: SpinnerType.ballClipRotate, spinnercolor: UIColor.red, spinnerSize: 20, complete: {
49+
// Your code here
5050
})
5151

5252

5353
**StopAnimation**
5454

55-
button.stopAnimate(complete: {
55+
button.stopAnimate(complete: {
56+
// Your code here
57+
})
58+
59+
**StopAnimation with completion types**
60+
61+
button.stopAnimatingWithCompletionType(completionType: .success, complete: {
5662
// Your code here
5763
})
58-
59-
**StopAnimation with completion types**
60-
61-
button.stopAnimatingWithCompletionType(completionType: .success, complete: {
62-
// Your code here
63-
})
64-
65-
**StopAnimation with completion types and back to defaults**
66-
67-
button.stopAnimationWithCompletionTypeAndBackToDefaults(completionType: .fail, backToDefaults: true, complete: {
68-
// Your code here
64+
65+
**StopAnimation with completion types and back to defaults**
66+
67+
button.stopAnimationWithCompletionTypeAndBackToDefaults(completionType: .fail, backToDefaults: true, complete: {
68+
// Your code here
6969
})
7070

7171

@@ -80,7 +80,7 @@ SSSpinnerButton is an elegant button with a different spinner animations.
8080
- Spinner animations inspired from [NVActivityIndicatorView](https://github.com/ninjaprox/NVActivityIndicatorView)
8181

8282

83-
[swift-image]:https://img.shields.io/badge/swift-4.0-orange.svg
83+
[swift-image]:https://img.shields.io/badge/swift-5.0-orange.svg
8484
[swift-url]: https://swift.org/
8585
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
8686
[license-url]: LICENSE

0 commit comments

Comments
 (0)