Protocol

GKTurnBasedMatchmakerViewControllerDelegate

Your game implements the GKTurnBasedMatchmakerViewControllerDelegate protocol on an object to respond to events generated by a GKTurnBasedMatchmakerViewController object.

Declaration

@protocol GKTurnBasedMatchmakerViewControllerDelegate

Topics

Events

- turnBasedMatchmakerViewController:playerQuitForMatch:

Called when a player chooses to quit the match.

Deprecated
- turnBasedMatchmakerViewControllerWasCancelled:

Called when the player cancels matchmaking.

Required.

- turnBasedMatchmakerViewController:didFindMatch:

Called when the player selected a match to view.

Deprecated
- turnBasedMatchmakerViewController:didFailWithError:

Called when an error occurs.

Required.

Relationships

Inherits From

See Also

Displaying a UI For Turn-Based Matches

- initWithMatchRequest:

Initializes a new matchmaker view controller.

showExistingMatches

A Boolean value that determines whether the view controller shows existing matches.

turnBasedMatchmakerDelegate

The view controller’s delegate.