Contents

gesture(_:)

Attaches an Nsgesturerecognizerrepresentable to the view.

Declaration

nonisolated func gesture(_ representable: some NSGestureRecognizerRepresentable) -> some View

Parameters

Return Value

A view with an NSGestureRecognizerRepresentable attached.

See Also

Recognizing gestures that change over time