Fix init
This commit is contained in:
parent
79ebf34529
commit
ac82606f28
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue