Initiates a dragging operation from the view, allowing the user to drag a file icon to any application that has window or view objects that accept files.
- macOS 10.0–10.13Deprecated
A string that specifies the absolute path for the file that is dragged.
A rectangle that describes the position of the icon in the view’s coordinate system.
A Boolean that indicates whether the icon being dragged should slide back to its position in the view if the file isn’t accepted. The icon slides back to
YES, the file is not accepted by the dragging destination, and the user has not disabled icon animation; otherwise it simply disappears.
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.
YES if the view successfully initiates the dragging operation (which doesn’t necessarily mean the dragging operation concluded successfully). Otherwise, this method returns