Instance Method


Invoked when the dragging operation is complete, signaling the receiver to perform any necessary clean-up.


- (void)concludeDragOperation:(id<NSDraggingInfo>)sender;



The object sending the message; use it to get details about the dragging operation.


For this method to be invoked, the previous performDragOperation: must have returned YES.

The destination implements this method to perform any tidying up that it needs to do, such as updating its visual representation now that it has incorporated the dragged data. This message is the last message sent from sender to the destination during a dragging session.

If the sender object’s animatesToDestination property was set to YES in prepareForDragOperation:, then the drag image is still visible. At this point you should draw the final visual representation in the view. When this method returns, the drag image is removed form the screen. If your final visual representation matches the visual representation in the drag, this is a seamless transition.

See Also

Managing a Dragging Session After an Image Is Released

- prepareForDragOperation:

Invoked when the image is released, allowing the receiver to agree to or refuse drag operation.

- performDragOperation:

Invoked after the released image has been removed from the screen, signaling the receiver to import the pasteboard data.