Double Slider UIControl for the iOS

One component I’ve been missing for a long time from the iOS is a slider where I can select a range of values instead of just one. Turns out such a component is not that hard to make.

The DoubleSlider (maybe it should be called a RangeSlider) is a UIControl subclass just like a UISlider, it only allows the user to select a range of values instead of only one, using two handles, one for the minimum and one for the maximum value.

double slider screenshot

Have a look at a video of how the slider works here.

Get the source code and a sample project on GitHub:

Feel free to contribute to the project and help improve this control.