This control works reasonably well, thank you for the time you put in to it. When using this control I want to set an initial value which I do with:
let slider = TvOSSlider(frame: CGRect(x: 100 y: 100, width: 1000, height: 50))
slider.minimumValue = 0
slider.maximumValue = 255
slider.value = 50
view.addSubview(slider)
The control takes this value, and when you read it back it returns 50, however the visual slider in the UI remains at 0. When you start to move it, the control resets its value to 0 and starts incrementing from there. Would be great if this could display the correct initial value.
This control works reasonably well, thank you for the time you put in to it. When using this control I want to set an initial value which I do with:
The control takes this value, and when you read it back it returns 50, however the visual slider in the UI remains at 0. When you start to move it, the control resets its value to 0 and starts incrementing from there. Would be great if this could display the correct initial value.