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

# pasteboardFinishedWithDataProvider(_:)

Informs the receiver that the pasteboard no longer needs the data provider for any of its pasteboard items.

```
nonisolated optional func pasteboardFinishedWithDataProvider(_ pasteboard: NSPasteboard)
```

## Parameters

`pasteboard`

A pasteboard.

## Discussion

One data provider can provide data for more than one pasteboard item. This method is called when the pasteboard no longer needs the data provider for any of its pasteboard items. This can be either because the data provider has fulfilled all promises, or because ownership of the pasteboard has changed.

---

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)