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.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software