Implement this method to enable dragging from the control.
- macOS 10.5+
The path control that sent the message.
The path component cell from which the drag is beginning.
This method is called when a drag is about to begin. You can refuse to allow the drag to happen by returning
false and allow it by returning
true. By default, the pasteboard automatically has the following types on it:
NSURLPboard (if there is a URL value for the cell being dragged), and
NSFilenames (if the URL value returns
true from -
is). You can customize the types placed on the pasteboard at this time, if desired. Implementation of this method is optional.