<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKTurnBasedMatchmakerViewController/init(matchRequest:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKTurnBasedMatchmakerViewController(im)initWithMatchRequest:"
  },
  "title" : "init(matchRequest:)"
}
-->

# init(matchRequest:)

Creates a matchmaker view controller for the local player to start inviting other players to a turn-based game.

```
init(matchRequest request: GKMatchRequest)
```

## Parameters

`request`

A match request that you configure for the characteristics of your game.

## Return Value

An initialized matchmaker view controller object or `nil` If an error occurs.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)