Generic Instance Method

map(_:)

Returns a gesture that’s the result of mapping the given closure over the gesture.

Declaration

func map<T>(_ body: @escaping (Value) -> T) -> _MapGesture<DragGesture, T>