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

# resetSpringLoading()

Resets a spring-loading operation to its initial state.

```
@MainActor func resetSpringLoading()
```

## Discussion

Call this method when a drag operation moves from one spring-loaded region into another within the same destination and the spring-loading options haven’t changed.

For example, consider an [`NSSegmentedControl`](/documentation/AppKit/NSSegmentedControl) object. It’s a single spring-loading destination. However, each segment within the control can be individually spring-loaded. Each time the drag enters a new segment within the control, the spring-loading destination and options don’t change. [`NSSegmentedControl`](/documentation/AppKit/NSSegmentedControl) calls the [`resetSpringLoading()`](/documentation/AppKit/NSDraggingInfo/resetSpringLoading()) method to reset the spring-loading operation for the newly entered segment.

When this method is called, the spring-loading operation is reset. Hover time required to activate spring-loading is reset and begins again. If a force click is currently active, the user must reduce pressure enough to disengage the force click. Then, the user must force click again to activate the newly entered spring-loaded region.

---

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)