Gesture

public protocol Gesture

The base protocol for concrete gesture recognizers.

  • The gesture behind the TapGesture.

    Declaration

    Swift

    var gesture: UIGestureRecognizer { get }
  • action Default implementation

    The action to handle the gesture recognized by the receiver.

    Default Implementation

    Declaration

    Swift

    var action: (UIGestureRecognizer) -> Void { get }