---
title: matchmakerDelegate
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkmatchmakerviewcontroller/matchmakerdelegate
---

# matchmakerDelegate

The object that handles matchmaker view controller changes.

## Declaration

```swift
weak var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
```

## Mentioned in

Finding players for custom server-based games

## Discussion

Discussion You must set the delegate for GameKit to notify you when players accept their invitations and you can start the game.

## See Also

### Setting the delegate

- [GKMatchmakerViewControllerDelegate](gamekit/gkmatchmakerviewcontrollerdelegate.md)
