Returns an integer bit mask indicating the types of dragging operations the source object will allow to be performed on the dragged image's data.


- (NSDragOperation)draggingSourceOperationMaskForLocal:(BOOL)isLocal



YES indicates that the candidate destination object (the window or view over which the dragged image is currently poised) is in the same application as the source, while a NO value indicates that the destination object is in a different application.

Return Value

A mask, created by combining the dragging operations listed in the NSDragOperation section of NSDraggingInfo protocol reference using the C bitwise OR operator.If the source does not permit any dragging operations, it should return NSDragOperationNone.


See Also

Dragging Options

- namesOfPromisedFilesDroppedAtDestination:

Returns the names of the files that the receiver promises to create at a specified location.

- ignoreModifierKeysWhileDragging

Sets whether the use of modifier keys should have an effect on the type of operation performed.