GestureType

public struct GestureType : OptionSet, Hashable

An OptionSet that defines available gestures for ExclusiveGestureManager.

  • Represents a type alias for an Int type.

    Declaration

    Swift

    public typealias RawValue = Int
  • pan

    Represents a pan gesture with a rawValue of 1.

    Declaration

    Swift

    public static let pan: GestureType
  • Represents a pinch gesture with a rawValue of 2.

    Declaration

    Swift

    public static let pinch: GestureType
  • Represents a rotate gesture with a rawValue of 4.

    Declaration

    Swift

    public static let rotate: GestureType
  • Represents a tilt gesture with a rawValue of 8.

    Declaration

    Swift

    public static let tilt: GestureType
  • Represents a longPress gesture with a rawValue of 16.

    Declaration

    Swift

    public static let longPress: GestureType
  • tap

    Represents a tap gesture with a rawValue of 32.

    Declaration

    Swift

    public static let tap: GestureType
  • Represents an Int value that will map to a specific gesture type.

    Declaration

    Swift

    public var rawValue: Int
  • Adds the given rawValue to this hasher, mixing its essential parts into the hasher state.

    Declaration

    Swift

    public func hash(into hasher: inout Hasher)