SSTTapSlider 0.1.0

SSTTapSlider 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Sep 2016

Maintained by Brennan Stehling.



TapSlider

The UISlider for iOS does not respond to tap and pan gestures outside of the thumb control. On OS X and other systems a user can tap anywhere on a slider and have the thumb control jump to that position. Having to precisely get your finger onto the thumb control on iOS is sometimes difficult to do. After a few failed attempts it becomes frustrating especially if there are multiple sliders that must be adjusted.

This sample projects shows how the UISlider can be adjusted easily by attaching tap and pan gestures to restore the expected interactions.

Usage

Place a UISlider on a Storyboard and set the custom class to SSTTapSlider in the Identity Inspector. When the slider is initialized the tap and pan gesture recognizers will be attached to add the custom behavior.

License

MIT

Contact

Brennan Stehling
SmallSharpTools
@smallsharptools (Twitter)