---
title: GKMatchType
framework: gamekit
role: symbol
role_heading: Enumeration
path: gamekit/gkmatchtype
---

# GKMatchType

The kind of match managed by Game Center.

## Declaration

```swift
enum GKMatchType
```

## Topics

### Types

- [GKMatchType.peerToPeer](gamekit/gkmatchtype/peertopeer.md)
- [GKMatchType.hosted](gamekit/gkmatchtype/hosted.md)
- [GKMatchType.turnBased](gamekit/gkmatchtype/turnbased.md)

### Initializers

- [init(rawValue:)](gamekit/gkmatchtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Restricting the number of players

- [maxPlayersAllowedForMatch(of:)](gamekit/gkmatchrequest/maxplayersallowedformatch(of:).md)
- [minPlayers](gamekit/gkmatchrequest/minplayers.md)
- [maxPlayers](gamekit/gkmatchrequest/maxplayers.md)
- [defaultNumberOfPlayers](gamekit/gkmatchrequest/defaultnumberofplayers.md)
