Fix spinner

This commit is contained in:
Igor Kislyuk 2017-11-21 22:26:32 +03:00
parent a6768619a0
commit 3fafda7132
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
# Changelog
### 0.6.4
- **Fix**: SpinnerView bug(no animation) in Swift 4.
## 0.6.3
- **Fix**: SeparatorCell updates constraints after setting separator insets

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKit"
s.version = "0.6.3"
s.version = "0.6.4"
s.summary = "iOS framework with a bunch of tools for rapid development"
s.homepage = "https://github.com/TouchInstinct/LeadKit"
s.license = "Apache License, Version 2.0"

View File

@ -82,7 +82,7 @@ public final class SpinnerView: UIView, Animatable, LoadingIndicator {
// MARK: - Animatable
public func startAnimating() {
@objc public func startAnimating() {
guard !animating else {
return
}
@ -94,7 +94,7 @@ public final class SpinnerView: UIView, Animatable, LoadingIndicator {
addAnimation()
}
public func stopAnimating() {
@objc public func stopAnimating() {
guard animating else {
return
}