Initializes and returns a dragging item using the specified content.
- macOS 10.7+
The object that provides the dragging content. The object must implement the
An initialized NSDraggingItem instance with the specified dragging content.
When the developer creates an
NSDragging instance , it is for use with the view method
begin During the invocation of that method, the
pasteboard is placed onto the dragging pasteboard for the
NSDragging that contains the dragging item instance.
The designated initializer.