Knob
public class Knob : Gradient, UIGestureRecognizerDelegate
The Knob
UI components of RangeUIslider. It is a customized UIView
.
It is a subclass of Gradient
view.
-
The knobs UI components. See
KnobComponents
class.Declaration
Swift
public let components: KnobComponents
-
Gesture recognizer delegate method implementation for knob movement.
Declaration
Swift
public func gestureRecognizer( _ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer ) -> Bool
-
Gesture recognizer delegate method implementation for knob movement.
Declaration
Swift
public func gestureRecognizer( _ gestureRecognizer: UIGestureRecognizer, shouldBeRequiredToFailBy otherGestureRecognizer: UIGestureRecognizer ) -> Bool
-
Gesture recognizer delegate method implementation for knob movement.
Declaration
Swift
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool