Creates and returns a drag image to represent the specified items during a drag.
- macOS 10.6+
The collection view making the request.
The indexes of the items being dragged.
The mouse-down event that initiated the drag.
An in/out parameter that is initially set to
NSZero, which causes the image to be centered under the mouse. The value can be modified to reposition the returned image.
The image to use for the dragged items.
If the delegate does not implement this method, the collection view uses the image returned by
You do not need to implement this method for your collection view to be a drag source.