Latest 0.1.0
Homepage https://github.com/brennanMKE/SSTTapSlider
License MIT
Platforms ios 8.0, requires ARC
Authors

TapSlider

MIT Licence
CocoaPods Compatible
Carthage Compatible
Platform

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.

CocoaPods

pod 'SSTTapSlider', '~> 0.1'

Carthage

TapSlider can also be built using Carthage.

Add the following line to your Cartfile:

github "brennanMKE/SSTTapSlider" ~> 0.1

License

MIT

Contact

Brennan Stehling
SmallSharpTools
@smallsharptools (Twitter)

Latest podspec

{
    "name": "SSTTapSlider",
    "version": "0.1.0",
    "summary": "Slider with ability to tap or pan outside of the thumb control.",
    "description": "A normal UISlider requires the thumb control to be moved by first touching in it's bounds.nThe SSTTapSlider adds a tap and pan gesture to the UISlider to allow for tapping or panningnanywhere within the control to move the thumb control and change the value of the slider.",
    "homepage": "https://github.com/brennanMKE/SSTTapSlider",
    "license": "MIT",
    "authors": {
        "Brennan Stehling": "[email protected]"
    },
    "social_media_url": "http://twitter.com/smallsharptools",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/brennanMKE/SSTTapSlider.git",
        "tag": "0.1.0"
    },
    "source_files": [
        "Classes",
        "Classes/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This