GestureType
public struct GestureType : OptionSet, Hashable
An OptionSet that defines available gestures for ExclusiveGestureManager.
Adds the given rawValue
to this hasher, mixing its essential parts into the hasher state.
Declaration
Swift
public func hash(into hasher: inout Hasher)
Creates an instance of GestureType
.
Declaration
Swift
public init(rawValue: Int)
Parameters
rawValue
|
Represents an |
Represents a longPress gesture with a rawValue
of 16.
Declaration
Swift
public static let longPress: GestureType
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 type alias for an Int
type.
Declaration
Swift
public typealias RawValue = Int
Represents an Int
value that will map to a specific gesture type.
Declaration
Swift
public var rawValue: Int
Represents a rotate gesture with a rawValue
of 4.
Declaration
Swift
public static let rotate: GestureType
Represents a tap gesture with a rawValue
of 32.
Declaration
Swift
public static let tap: GestureType
Represents a tilt gesture with a rawValue
of 8.
Declaration
Swift
public static let tilt: GestureType