Generic Structure


A pair of gestures where only one can succeed, which gives precedence to the first of the pair.


@frozen struct ExclusiveGesture<First, Second> where First : Gesture, Second : Gesture

See Also

Combined Gestures

Composing SwiftUI Gestures

Combine gestures to create complex interactions.

struct SequenceGesture

A gesture type that sequences two subgestures.

struct SimultaneousGesture

A container event handler that evaluates its two child gestures simultaneously.