---
title: delegate
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nssharingservice/delegate
---

# delegate

Specifies the delegate of the sharing service.

## Declaration

```swift
weak var delegate: (any NSSharingServiceDelegate)? { get set }
```

## Discussion

Discussion The delegate class must conform to the NSSharingServiceDelegate protocol.

## See Also

### Managing the Delegate

- [NSSharingServiceDelegate](appkit/nssharingservicedelegate.md)
