Activates this view as the source of a drag and drop operation.
- macOS 10.15+Beta
- Xcode 11.0+Beta
A closure that returns a single
NSItemthat represents the draggable data from this view.
A view that activates this view as the source of a drag and drop operation, beginning with user gesture input.
on modifier adds the appropriate gestures for drag and drop to this view. When a drag operation begins, a rendering of this view is generated and used as the preview image.