samvermette/SVSegmentedControl — pull request #31 by rhubarb (2012-11-20 19:38:29+00:00)
Title: Slide only mode

Added suport for making the slider hard to accidentally change

Setting mustSlideToChange to YES will force the user to slide the thumb most of the way into the new section for it to change.
The value "most" defaults to two thirds of the way in, but is configurable with the CGFloat property "minimumOverlapToChange" (default 0.66).

Setting mustSlideToChange has 3 specific effects
1. the user must slide the thumb most of the way into the segment
2. tapping on a segment away from the thumb will not cause it to be selected
3. the toggle feature for 2-segment controls (where tapping anywhere will change the selection) is disabled