---
title: NSSharingServiceDelegate
framework: appkit
role: symbol
role_heading: Protocol
path: appkit/nssharingservicedelegate
---

# NSSharingServiceDelegate

A set of methods that you use to customize the position and animation of a share sheet, and to be notified whether the item is successfully shared.

## Declaration

```swift
protocol NSSharingServiceDelegate : NSObjectProtocol
```

## Overview

Overview See NSSharingService for more information.

## Topics

### Sharing Items

- [sharingService(_:willShareItems:)](appkit/nssharingservicedelegate/sharingservice(_:willshareitems:).md)
- [sharingService(_:didShareItems:)](appkit/nssharingservicedelegate/sharingservice(_:didshareitems:).md)
- [sharingService(_:didFailToShareItems:error:)](appkit/nssharingservicedelegate/sharingservice(_:didfailtoshareitems:error:).md)

### Customizing Transition Animation

- [sharingService(_:sourceFrameOnScreenForShareItem:)](appkit/nssharingservicedelegate/sharingservice(_:sourceframeonscreenforshareitem:).md)
- [sharingService(_:transitionImageForShareItem:contentRect:)](appkit/nssharingservicedelegate/sharingservice(_:transitionimageforshareitem:contentrect:).md)
- [sharingService(_:sourceWindowForShareItems:sharingContentScope:)](appkit/nssharingservicedelegate/sharingservice(_:sourcewindowforshareitems:sharingcontentscope:).md)
- [NSSharingService.SharingContentScope](appkit/nssharingservice/sharingcontentscope.md)

### Getting an Anchor View

- [anchoringView(for:showRelativeTo:preferredEdge:)](appkit/nssharingservicedelegate/anchoringview(for:showrelativeto:preferrededge:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Inherited By

- [NSCloudSharingServiceDelegate](appkit/nscloudsharingservicedelegate.md)

## See Also

### Managing the Delegate

- [delegate](appkit/nssharingservice/delegate.md)
