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

# NSSharingServicePickerToolbarItemDelegate

An interface that provides the content to share from the macOS share sheet.

```
protocol NSSharingServicePickerToolbarItemDelegate : NSSharingServicePickerDelegate
```

## Overview

Adopt the [`NSSharingServicePickerToolbarItemDelegate`](/documentation/AppKit/NSSharingServicePickerToolbarItemDelegate) protocol in one of your app’s custom types and use it to provide shareable content. Assign your delegate object to an [`NSSharingServicePickerToolbarItem`](/documentation/AppKit/NSSharingServicePickerToolbarItem) object you add to your window’s toolbar.

## Topics

### Providing the Items to Share

[`func items(for: NSSharingServicePickerToolbarItem) -> [Any]`](/documentation/AppKit/NSSharingServicePickerToolbarItemDelegate/items(for:))

Asks the delegate for the items to share.

## Relationships

### Inherits From

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

---

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)