Open FaizUlHassan123 opened 5 years ago
@IBInspectable open var stepValue: Double? = nil { willSet(newValue) { if newValue != nil { assert(newValue! > 0, "NHRangeSlider: stepValue must be positive") } } didSet { if let val = stepValue { if val <= 0 { stepValue = nil } } updateLayerFrames() } } @IBInspectable open var stepValue: Double? = nil { didSet { self.rangeSlider?.stepValue = stepValue } }