---
title: delegate
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsuseractivity/delegate
---

# delegate

The user activity object’s delegate.

## Declaration

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

## Discussion

Discussion The user activity delegate is informed when the activity is being saved or continued. For more information on how to implement the delegate, see NSUserActivityDelegate.

## See Also

### Monitoring activity-related behaviors

- [NSUserActivityDelegate](foundation/nsuseractivitydelegate.md)
