A gesture containing two gestures that can happen at the same time with neither of them preceding the other.¶
@frozen struct SimultaneousGesture<First, Second> : Gesture where First : Gesture, Second : Gesture
A simultaneous gesture is a container-event handler that evaluates its two child gestures at the same time. Its value is a struct with two optional values, each representing the phases of one of the two gestures.
See simultaneously(with:) for more of an explanation and an example.
init(_:_:) Creates a gesture with two gestures that can receive updates or succeed independently of each other.
Body The type of gesture representing the body of Self.
first The first of two gestures that can happen simultaneously.
second The second of two gestures that can happen simultaneously.
Value The value of a simultaneous gesture that indicates which of its two gestures receives events.