This commit is contained in:
Igor 2017-10-08 18:49:37 +03:00
parent 79ebf34529
commit ac82606f28
1 changed files with 4 additions and 4 deletions

View File

@ -34,10 +34,10 @@ public final class SpinnerView: UIView, Animatable, LoadingIndicator {
private let animationRepeatCount: Float
private let clockwiseAnimation: Bool
init(image: UIImage,
animationDuration: CFTimeInterval = 1,
animationRepeatCount: Float = Float.infinity,
clockwiseAnimation: Bool = true) {
public init(image: UIImage,
animationDuration: CFTimeInterval = 1,
animationRepeatCount: Float = Float.infinity,
clockwiseAnimation: Bool = true) {
self.animationDuration = animationDuration
self.animationRepeatCount = animationRepeatCount