Contents

setDraggingSourceOperationMask(_:forLocal:)

Sets the default operation mask returned by draggingSourceOperationMaskForLocal: to mask.

Declaration

func setDraggingSourceOperationMask(_ mask: NSDragOperation, forLocal isLocal: Bool)

Parameters

  • mask:

    The drag operation mask. See Nsdragoperation for the supported values.

  • isLocal:

    True if the destination is the same application, otherwise False. In either case the specified mask value is archived and used.

See Also

Dragging