Instance Property


Returns an array of dragging image components that are used to create the drag image.


var imageComponents: [NSDraggingImageComponent]? { get }


The array contains copies of the components. Changes made to these copies are not reflected in the drag. If needed, the imageComponentsProvider block is called to generate the image components.

See Also

Drag Image Components

var imageComponentsProvider: (() -> [NSDraggingImageComponent])?

An array of blocks that provide the dragging image components.

var item: Any

Returns the pasteboard reader or writer object dependent on the context of where this dragging item is used .