---
title: delegate
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gksession/delegate
---

# delegate

The delegate of the session object.

## Declaration

```swift
weak var delegate: (any GKSessionDelegate)! { get set }
```

## Discussion

Discussion A session’s delegate is responsible for observing changes to other peers running with the same session ID. Your application must set a delegate before making your session known to other peers.

## See Also

### Related Documentation

- [GKSessionDelegate](gamekit/gksessiondelegate.md)
