---
title: NSServicesMenuRequestor
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nsservicesmenurequestor
---

# NSServicesMenuRequestor

A set of methods that support interaction with items users can share through a sharing service.

## Declaration

```swift
protocol NSServicesMenuRequestor : NSObjectProtocol
```

## Mentioned in

Supporting Writing Tools via the pasteboard

## Overview

Overview This informal protocol consists of two methods, writeSelection(to:types:) and readSelection(from:). The first method provides data to a remote service, and the second receives any data the remote service might send back. Both respond to messages that are generated when the user chooses a command from the Services menu.

## Topics

### Working with Pasteboards

- [readSelection(from:)](appkit/nsservicesmenurequestor/readselection(from:).md)
- [writeSelection(to:types:)](appkit/nsservicesmenurequestor/writeselection(to:types:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### App Services

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