Registers the pasteboard types that the view will accept as the destination of an image-dragging session.
- macOS 10.0+
NSView object for dragged types automatically makes it a candidate destination object for a dragging session. As such, it must properly implement some or all of the
NSDragging protocol methods. As a convenience,
NSView provides default implementations of these methods. See the
NSDragging protocol specification for details.