---
title: matchmakingMode
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkturnbasedmatchmakerviewcontroller/matchmakingmode
---

# matchmakingMode

The mode that a multiplayer game uses to find players.

## Declaration

```swift
var matchmakingMode: GKMatchmakingMode { get set }
```

## Mentioned in

Starting turn-based matches and passing turns between players

## Discussion

Discussion This method throws an exception if you set the mode to a value that isn’t possible due to restrictions.

## See Also

### Creating and Configuring the View Controller

- [init(matchRequest:)](gamekit/gkturnbasedmatchmakerviewcontroller/init(matchrequest:).md)
- [showExistingMatches](gamekit/gkturnbasedmatchmakerviewcontroller/showexistingmatches.md)
- [GKMatchmakingMode](gamekit/gkmatchmakingmode.md)
