NSDragImage Component Keys

These constants are used by the init(key:), draggingImageComponentWithKey: methods and the key property.

Topics

Constants

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.