diff --git a/InstaProgressView/InstaProgressView.swift b/InstaProgressView/InstaProgressView.swift index 37858ba..6b56ae4 100644 --- a/InstaProgressView/InstaProgressView.swift +++ b/InstaProgressView/InstaProgressView.swift @@ -18,7 +18,7 @@ public class InstaProgressView: UIStackView { currentAnimationIndex < arrangedSubviews.count } - init(progressTintColor: UIColor, trackTintColor: UIColor, segmentsCount: Int, spaceBetweenSegments: CGFloat, duration: TimeInterval) { + public init(progressTintColor: UIColor, trackTintColor: UIColor, segmentsCount: Int, spaceBetweenSegments: CGFloat, duration: TimeInterval) { super.init(frame: CGRect.zero) self.duration = duration axis = NSLayoutConstraint.Axis.horizontal