draggingEnded(_:)
Responds to the end of a drag operation.
Declaration
@MainActor optional func draggingEnded(_ draggingInfo: any NSDraggingInfo)Parameters
- draggingInfo:
An object of type
NSDraggingInfo, which provides information about the drag event, including the dragged data.
Discussion
This method is called when a drag operation has ended. If the destination object is both a dragging destination (class NSDraggingDestination) and a spring-loading destination (class NSSpringLoadingDestination), note that this method is only called once.