thehung111 / NHRangeSlider

A custom range slider in Swift
https://thehung111.github.io/NHRangeSlider/
MIT License
157 stars 45 forks source link

How to change the upper value and lower value text Dynamically? #24

Open HariNarayanan777 opened 5 years ago

HariNarayanan777 commented 5 years ago

AS i am tried to do was

func sliderValueChanged(slider: NHRangeSlider?) { self.custom_firstrange_slide.upperLabel?.text = "hrs and mins: (slider?.upperValue)" self.custom_firstrange_slide.lowerLabel?.text = "hrs and mins: (slider?.lowerValue)" }

But its not working for me i tried so much of methods to call this. So please tell if any suggestion for this.!