Begins a dragging session.
- macOS 10.0+
The object to be dragged.
Location of the image’s bottom-left corner in the window’s coordinate system. It determines the placement of the dragged image under the pointer.
The pointer’s location relative to the mouse-down location. Not used in macOS 10.4 and later.
The left-mouse down event that triggered the dragging operation.
The pasteboard that holds the data to be transferred to the destination.
The object serving as the controller of the dragging operation. It must conform to the
Specifies whether the drag image should slide back to
baseif it's rejected by the drag destination. Pass
trueto specify slide back behavior or
falseto specify that it should not.
This method should be invoked only from within a view’s implementation of the
mouse methods (which overrides the version defined in
NSResponder class). Essentially the same as the
NSView method of the same name, except that
base is given in the
NSWindow object’s base coordinate system.