Structure

NSDraggingItem.ImageComponentKey

No overview available.

Declaration

struct ImageComponentKey

Topics

Type Properties

static let icon: NSDraggingItem.ImageComponentKey

Key with a corresponding value that is an image of the item being dragged.

static let label: NSDraggingItem.ImageComponentKey

Key with a corresponding value that represents a textual label associate with the item, for example, a file name.

Relationships

See Also

Drag Image Components

var imageComponents: [NSDraggingImageComponent]?

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

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 .