init(key:)
Initializes and returns a dragging image component with the specified key.
Declaration
init(key: NSDraggingItem.ImageComponentKey)Parameters
- key:
The key.
Return Value
An initialized dragging image component with the specified key.
Discussion
This method is the designated initializer.