<!--
{
  "availability" : [
    "macOS: 10.11.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSSpringLoadingDestination/springLoadingUpdated(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSSpringLoadingDestination(im)springLoadingUpdated:"
  },
  "title" : "springLoadingUpdated(_:)"
}
-->

# 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.

```
@MainActor optional func springLoadingUpdated(_ draggingInfo: any NSDraggingInfo) -> NSSpringLoadingOptions
```

## Parameters

`draggingInfo`

An object of type `NSDraggingInfo`, which provides information about the drag event, including the dragged data.

## Return Value

A value of type `NSSpringLoadingOptions` to enable or disable spring-loading. A value of `NSSpringLoadingEnabled` enables typical spring-loading behavior.

## Discussion

This method is called periodically as a drag changes position within the bounds of a spring-loaded destination or the `draggingInfo` changes during the drag. It returns a value of type `NSSpringLoadingOptions` to enable or disable spring-loading for the destination. If this method is not implemented, then spring-loading is enabled or disabled for the destination based on the return value of the `springLoadingEntered:` method.

Note that you *must* implement either this method or [`springLoadingEntered(_:)`](/documentation/AppKit/NSSpringLoadingDestination/springLoadingEntered(_:)) to enable spring-loading.

## See Also

[`NSSpringLoadingOptions`](/documentation/AppKit/NSSpringLoadingOptions)

These constants denote the type of spring-loading behavior configured for the destination object.

[`NSDraggingInfo`](/documentation/AppKit/NSDraggingInfo)

A set of methods that supply information about a dragging session.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)