Contents

NSDraggingSession

An object that encapsulates a drag-and-drop action.

Declaration

class NSDraggingSession

Overview

You start a new dragging session by calling beginDraggingSession(with:event:source:) or beginDraggingSession(items:gesture:source:) on an NSView. The method immediately returns, and the actual drag begins at the next turn of the run loop.

Topics

Dragging Pasteboard

Dragging Visual Representation

Identifying the Dragging Session

Enumerating Dragging Items

Dragging Session Location

Dragging Item Location

Instance Methods

See Also

Drag Sources