Protocol

Gesture

An input gesture that matches a sequence of events and returns a stream of values.

Declaration

protocol Gesture

Topics

Associated Types

associatedtype Body

The type of gesture representing the gesture’s body.

Required.

associatedtype Value

The type of value produced by this gesture.

Required.

Instance Properties

var body: Self.Body

Returns the current body of self.

Required.

Instance Methods

Relationships

Conforming Types

See Also

Custom Gestures

struct AnyGesture

A type-erased gesture.