Instance Method

springLoadingHighlightChanged:

Updates the destination’s user interface to display a new highlighting style during a spring-loading operation.

Required.

Declaration

- (void)springLoadingHighlightChanged:(id<NSDraggingInfo>)draggingInfo;

Parameters

draggingInfo

An object of type NSDraggingInfo, which provides information about the drag event, including a highlighting style to apply.

Discussion

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 springLoadingHighlight property of the draggingInfo object to determine the style of highlighting to apply. Then, update the destination’s user interface accordingly.

See Also

Respond to Spring-loading Events

- springLoadingActivated:draggingInfo:

Responds to the activation or deactivation of spring-loading on a destination.

Required.

- springLoadingEntered:

Returns whether to enable or disable spring-loading when a drag enters the bounds of the spring-loading destination.

- springLoadingUpdated:

Returns whether to enable or disable spring-loading as a drag moves within the bounds of the spring-loading destination or draggingInfo changes during the drag.

- springLoadingExited:

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

- draggingEnded:

Responds to the end of a drag operation.