Configures the default value returned from dragging
.
SDK
- macOS 10.6+
Framework
- App
Kit
Declaration
func setDraggingSourceOperationMask(_ dragOperationMask: NSDrag Operation, forLocal localDestination: Bool)
Parameters
dragOperationMask
The types of drag operations allowed.
localDestination
If
true
, mask applies when the drag destination object is in the same application as the receiver; iffalse
, mask applies when the destination object is outside the receiver’s application.