sequenced(before:)
Sequences a gesture with another one to create a new gesture, which results in the second gesture only receiving events after the first gesture succeeds.
Declaration
@MainActor @preconcurrency func sequenced<Other>(before other: Other) -> SequenceGesture<Self, Other> where Other : GestureParameters
- other:
A gesture you want to combine with another gesture to create a new, sequenced gesture.
Return Value
A gesture that’s a sequence of two gestures.