---
title: turnBasedMatchmakerDelegate
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkturnbasedmatchmakerviewcontroller/turnbasedmatchmakerdelegate
---

# turnBasedMatchmakerDelegate

The object that handles turn-based matchmaker view controller changes.

## Declaration

```swift
weak var turnBasedMatchmakerDelegate: (any GKTurnBasedMatchmakerViewControllerDelegate)? { get set }
```

## Discussion

Discussion You must set the delegate for GameKit to notify you when players cancel matchmaking or an error occurs.

## See Also

### Setting the Delegate

- [GKTurnBasedMatchmakerViewControllerDelegate](gamekit/gkturnbasedmatchmakerviewcontrollerdelegate.md)
