Invoked after it has been determined that a drag should begin, but before the drag has been started.
- macOS 10.6–10.15Deprecated
The collection view that send the message.
The indexes of the items to write to the pasteboard.
The pasteboard containing the content from the dragged items.
YES to begin the drag, otherwise
To start the drag, you must first declare the pasteboard types that are supported by sending
declare method. You then place the data for the items at the specified indexes on
pasteboard, and return
YES from the method.
The drag image and other drag related information will be set up and provided by the view once this call returns
You need to implement this method for your collection view to be a drag source.