Initiates a dragging session with a group of dragging items.
- macOS 10.7+
The dragging items. The frame property of each
NSDraggingmust be in the view's coordinate system.
The mouse-down event object from which to initiate the drag operation. In particular, its mouse location is used for the offset of the icon being dragged.
The dragging session for the drag.
A basic drag starts by calling
The caller can take the returned
NSDragging and continue to modify its properties. When the drag actually starts, the source is sent a
dragging message followed by multiple
dragging messages as the user drags.
Once the drag is ended or cancelled, the source receives a
dragging method and the drag is complete.