---
title: GKTurnBasedMatchmakerViewControllerDelegate
framework: gamekit
role: symbol
role_heading: Protocol
path: gamekit/gkturnbasedmatchmakerviewcontrollerdelegate
---

# GKTurnBasedMatchmakerViewControllerDelegate

A protocol that handles when the status of turn-based matchmaking changes.

## Declaration

```swift
protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol
```

## Mentioned in

Starting turn-based matches and passing turns between players

## Overview

Overview To receive notifications when a player cancels turn-based matchmaking or an error occurs, implement this protocol in the GKTurnBasedMatchmakerViewController object’s delegate.

## Topics

### Handling Cancellation and Errors

- [turnBasedMatchmakerViewControllerWasCancelled(_:)](gamekit/gkturnbasedmatchmakerviewcontrollerdelegate/turnbasedmatchmakerviewcontrollerwascancelled(_:).md)
- [turnBasedMatchmakerViewController(_:didFailWithError:)](gamekit/gkturnbasedmatchmakerviewcontrollerdelegate/turnbasedmatchmakerviewcontroller(_:didfailwitherror:).md)

### Deprecated Methods

- [turnBasedMatchmakerViewController(_:didFind:)](gamekit/gkturnbasedmatchmakerviewcontrollerdelegate/turnbasedmatchmakerviewcontroller(_:didfind:).md)
- [turnBasedMatchmakerViewController(_:playerQuitFor:)](gamekit/gkturnbasedmatchmakerviewcontrollerdelegate/turnbasedmatchmakerviewcontroller(_:playerquitfor:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Setting the Delegate

- [turnBasedMatchmakerDelegate](gamekit/gkturnbasedmatchmakerviewcontroller/turnbasedmatchmakerdelegate.md)
