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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software