diff --git a/CHANGELOG.md b/CHANGELOG.md index 549c3b66..ba178a87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/LeadKit.podspec b/LeadKit.podspec index ee894d0a..19f7883d 100644 --- a/LeadKit.podspec +++ b/LeadKit.podspec @@ -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" diff --git a/Sources/Classes/Views/SpinnerView/SpinnerView.swift b/Sources/Classes/Views/SpinnerView/SpinnerView.swift index f8f0babc..4a7b23e4 100644 --- a/Sources/Classes/Views/SpinnerView/SpinnerView.swift +++ b/Sources/Classes/Views/SpinnerView/SpinnerView.swift @@ -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 }