warchimede / RangeSlider

A simple range slider made in Swift
MIT License
366 stars 78 forks source link

can't able to update the minimum value and maximum value manually #35

Open Vinith253 opened 5 years ago

Vinith253 commented 5 years ago

when I tried to update the value of minimum value and maximum value of the RangeSlider manually, it shows a error like Assertion failed: RangeSlider: minimumValue should be lower than maximumValue and I have attached my code as well,

var sliderReference = RangeSlider() ... sliderReference.maximumValue = maximumPrice sliderReference.minimumValue = minimumPrice`