Updates the destination’s user interface to display a new highlighting style during a spring-loading operation.
- macOS 10.11+
An object of type
NSDragging, which provides information about the drag event, including a highlighting style to apply.
During a spring-loaded operation, a destination may initiate animated highlighting to visually cue the user that spring-loading has been engaged or disengaged. This method is called as different stages of this animation are reached, providing an opportunity to change the highlighting style. Check the
spring property of the
dragging object to determine the style of highlighting to apply. Then, update the destination’s user interface accordingly.