---
title: NSSpringLoadingDestination
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nsspringloadingdestination
---

# NSSpringLoadingDestination

A set of methods that the destination object (or recipient) of a dragged object can implement to support spring-loading.

## Declaration

```swift
protocol NSSpringLoadingDestination : NSObjectProtocol
```

## Overview

Overview Spring-loading is the act of dragging an object onto a destination object and hovering or force-clicking to activate the destination object A view can be configured as a drag-and-drop destination, a spring-loading destination, or both. If a view implements both drag-and-drop and spring-loading, then it will receive messages for both operations. Note that the view beneath the cursor during a drag receives priority. For example, if a parent view implements drag-and-drop and a subview implements spring-loading, then the parent view will not receive drag-and-drop messages while the cursor is over the subview.

## Topics

### Respond to Spring-loading Events

- [springLoadingActivated(_:draggingInfo:)](appkit/nsspringloadingdestination/springloadingactivated(_:dragginginfo:).md)
- [springLoadingHighlightChanged(_:)](appkit/nsspringloadingdestination/springloadinghighlightchanged(_:).md)
- [springLoadingEntered(_:)](appkit/nsspringloadingdestination/springloadingentered(_:).md)
- [springLoadingUpdated(_:)](appkit/nsspringloadingdestination/springloadingupdated(_:).md)
- [springLoadingExited(_:)](appkit/nsspringloadingdestination/springloadingexited(_:).md)
- [draggingEnded(_:)](appkit/nsspringloadingdestination/draggingended(_:).md)

### Constants

- [NSSpringLoadingOptions](appkit/nsspringloadingoptions.md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Drop Targets

- [NSDraggingDestination](appkit/nsdraggingdestination.md)
- [NSDraggingInfo](appkit/nsdragginginfo.md)
