One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

Gesture

protocol · iOS 13.0+ · SDK 27.1

@MainActor @preconcurrency protocol Gesture<Value>

An instance that matches a sequence of events to a gesture, and returns a stream of values for each of its states. Create custom gestures by declaring types that conform to the `Gesture` protocol.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Gesture.simultaneously(with:)

This protocol needs associated types that cannot yet cross the bridge.

Gesture.exclusively(before:)

This protocol needs associated types that cannot yet cross the bridge.

Gesture.onEnded(_:)

This protocol needs associated types that cannot yet cross the bridge.

Gesture.onChanged(_:)

This protocol needs associated types that cannot yet cross the bridge.

Gesture.map(_:)

callback cannot propagate synchronous failure

All SwiftUICore types →