Fix modifiers

This commit is contained in:
Igor 2017-10-08 18:26:56 +03:00
parent 5420410222
commit 79ebf34529
3 changed files with 9 additions and 5 deletions

View File

@ -15,3 +15,7 @@
## 0.5.9
- **Fix**: One-two-many fixed for values more than 99
## 0.5.10
- **Fix**: `Public` modifier for `SpinnerView`

View File

@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LeadKit"
s.version = "0.5.9"
s.version = "0.5.10"
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

@ -22,7 +22,7 @@
import UIKit
class SpinnerView: UIView, Animatable, LoadingIndicator {
public final class SpinnerView: UIView, Animatable, LoadingIndicator {
private(set) var animating: Bool = false
private var startTime = CFTimeInterval(0)
@ -72,7 +72,7 @@ class SpinnerView: UIView, Animatable, LoadingIndicator {
NotificationCenter.default.removeObserver(self)
}
override func didMoveToWindow() {
override public func didMoveToWindow() {
super.didMoveToWindow()
if window != nil {
@ -82,7 +82,7 @@ class SpinnerView: UIView, Animatable, LoadingIndicator {
// MARK: - Animatable
func startAnimating() {
public func startAnimating() {
guard !animating else {
return
}
@ -94,7 +94,7 @@ class SpinnerView: UIView, Animatable, LoadingIndicator {
addAnimation()
}
func stopAnimating() {
public func stopAnimating() {
guard animating else {
return
}