---
title: NSSharingServicePickerToolbarItemDelegate
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nssharingservicepickertoolbaritemdelegate
---

# NSSharingServicePickerToolbarItemDelegate

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

## Declaration

```swift
protocol NSSharingServicePickerToolbarItemDelegate : NSSharingServicePickerDelegate
```

## Overview

Overview Adopt the NSSharingServicePickerToolbarItemDelegate protocol in one of your app’s custom types and use it to provide shareable content. Assign your delegate object to an NSSharingServicePickerToolbarItem object you add to your window’s toolbar.

## Topics

### Providing the Items to Share

- [items(for:)](appkit/nssharingservicepickertoolbaritemdelegate/items(for:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSharingServicePickerDelegate](appkit/nssharingservicepickerdelegate.md)

## See Also

### Getting the Toolbar Items

- [delegate](appkit/nssharingservicepickertoolbaritem/delegate.md)
- [activityItemsConfiguration](appkit/nssharingservicepickertoolbaritem/activityitemsconfiguration.md)
