Instance Property

animatesToDestination

Returns whether the dragging formation animates while the drag is over this destination.

Required.

Declaration

var animatesToDestination: Bool { get set }

Discussion

During the conclusion of an accepted drag, if this property is set to true, the drag manager will animate each dragging image to their NSDraggingFormation.none locations. Otherwise, the drag images are removed without any animation.

This property is inspected between prepareForDragOperation: and performDragOperation:. You should enumerate through the dragging items during performDragOperation: to set the item’s draggingFrame to the correct destinations.

See Also

Sliding the Image

func slideDraggedImage(to: NSPoint)

Slides the image to a specified location.

Required.

var draggingFormation: NSDraggingFormation

Returns the dragging formation while the drag is over this destination.

Required.