---
title: "pasteboardFinishedWithDataProvider(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nspasteboarditemdataprovider/pasteboardfinishedwithdataprovider(_:)"
---

# pasteboardFinishedWithDataProvider(_:)

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

## Declaration

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

## Parameters

- `pasteboard`: A pasteboard.

## Discussion

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.

## See Also

### Providing Data

- [pasteboard(_:item:provideDataForType:)](appkit/nspasteboarditemdataprovider/pasteboard(_:item:providedatafortype:).md)
