## Summary Add public `DragGesture` support to track drag events from touch and mouse input. ## Scope - Add `DragGesture`, `DragGesture.Value`, and the `minimumDistance` and `coordinateSpace` initializers. - Add the `_EventDirections` SPI and the `CGSize` magnitude and normalization helpers that drag values use. - Deliver touch events on iOS and primary mouse events on macOS to the gesture. - Add DocC documentation for the gesture APIs. ## Acceptance criteria - `onChanged` and `onEnded` receive location, start location, translation, velocity, and predicted end values on iOS and macOS. - A drag shorter than `minimumDistance` does not start the gesture. - Values use the requested coordinate space. ## API reference - [DragGesture](https://developer.apple.com/documentation/swiftui/draggesture)
Activity