---
title: NSSharingServicePicker
framework: appkit
role: symbol
role_heading: Class
path: appkit/nssharingservicepicker
---

# NSSharingServicePicker

A list of sharing services that the user can choose from.

## Declaration

```swift
class NSSharingServicePicker
```

## Overview

Overview An NSSharingServicePicker object presents an interface for sharing one or more items using a specific service. In macOS 12 and earlier, this picker displays a menu with a list of services that someone can use to share the item. In macOS 13 and later, the picker displays a popover with a preview of the item and the list of services. When someone chooses a service, the picker automatically shares the proposed item with that service. Create a sharing service picker and configure it with a delegate object to monitor interactions. Your delegate must conform to the NSSharingServicePickerDelegate protocol. Present the picker from your interface using the show(relativeTo:of:preferredEdge:) method.

## Topics

### Creating a sharing service picker

- [init(items:)](appkit/nssharingservicepicker/init(items:).md)

### Managing the sharing service picker

- [delegate](appkit/nssharingservicepicker/delegate.md)
- [NSSharingServicePickerDelegate](appkit/nssharingservicepickerdelegate.md)

### Displaying the sharing service picker

- [show(relativeTo:of:preferredEdge:)](appkit/nssharingservicepicker/show(relativeto:of:preferrededge:).md)
- [close()](appkit/nssharingservicepicker/close().md)

### Retrieving the sharing menu item

- [standardShareMenuItem](appkit/nssharingservicepicker/standardsharemenuitem.md)

### Classes

- [NSSharingServicePicker.CollaborationModeRestriction](appkit/nssharingservicepicker/collaborationmoderestriction.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### App Services

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