Specifies the drag-operation mask for dragging operations with local or external destinations.
SDK
- macOS 10.5+
Framework
- App
Kit
Declaration
func setDraggingSourceOperationMask(_ mask: NSDrag Operation, forLocal isLocal: Bool)
Parameters
dragOperationMask
Dragging operation mask to use for either local or external drag operations, as specified by localDestination.
localDestination
Indicates the location of the dragging operation’s destination object:
true
for this application;false
for another application.
Discussion
Important
Do not override this method.