Contents

springLoadingExited(_:)

Responds when a drag exits the bounds of the spring-loading destination.

Declaration

@MainActor optional func springLoadingExited(_ 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 exits the bounds of a spring-loaded destination.

This is a good place to clean up any initialization work that may have been performed during springLoadingEntered(_:).

See Also

Related Documentation

Respond to Spring-loading Events