Contents

GestureStateGesture

A gesture that updates the state provided by a gesture’s updating callback.

Declaration

@frozen struct GestureStateGesture<Base, State> where Base : Gesture

Overview

A gesture’s updating(_:body:) callback returns a GestureStateGesture instance for updating a transient state property that’s annotated with the GestureState property wrapper.

Topics

Creating an in-progress gesture

Supporting types

See Also

Managing gesture state