NSDraggingDestination
A set of methods that the destination object (or recipient) of a dragged image must implement.
Declaration
protocol NSDraggingDestination : NSObjectProtocolOverview
The destination automatically receives NSDraggingDestination messages for pasteboard data types it has registered for as an image enters, moves around inside, and then exits or is released within the destination’s boundaries.
In macOS 10.7 and later NSDraggingDestination is a formal protocol with an updated interface. The OS X v10.6 behavior has been retained, but will be dropped in a future version of the operating system. The methods that are to be deprecated are marked as such.
Topics
Managing a Dragging Session Before an Image Is Released
draggingEntered(_:)wantsPeriodicDraggingUpdates()draggingUpdated(_:)draggingExited(_:)draggingEnded(_:)