---
title: NSSharingServicePickerToolbarItem
framework: appkit
role: symbol
role_heading: Class
path: appkit/nssharingservicepickertoolbaritem
---

# NSSharingServicePickerToolbarItem

A toolbar item that displays the macOS share sheet.

## Declaration

```swift
class NSSharingServicePickerToolbarItem
```

## Overview

Overview An NSSharingServicePickerToolbarItem object is a standard item you add to your window’s toolbar. When someone clicks it, the item displays the macOS share sheet. Use this item to share the selected or focal content from the current window. For example, you might share the photo someone is viewing, the currently selected text, or the window’s associated document. Provide the items to share using the associated delegate object. For an app built using Mac Catalyst, provide the items from the object in the activityItemsConfiguration property.

## Topics

### Getting the Toolbar Items

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

## Relationships

### Inherits From

- [NSToolbarItem](appkit/nstoolbaritem.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSMenuItemValidation](appkit/nsmenuitemvalidation.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSValidatedUserInterfaceItem](appkit/nsvalidateduserinterfaceitem.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### App Services

- [NSSharingService](appkit/nssharingservice.md)
- [NSSharingServicePicker](appkit/nssharingservicepicker.md)
- [NSPreviewRepresentableActivityItem](appkit/nspreviewrepresentableactivityitem.md)
- [NSServicesMenuRequestor](appkit/nsservicesmenurequestor.md)
- [NSCloudSharingServiceDelegate](appkit/nscloudsharingservicedelegate.md)
- [Services Functions](appkit/services-functions.md)
