Instance Property


The view controller’s delegate.


weak var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate? { get set }


Your game must implement the delegate protocol on an object and assign that object to this property before presenting the view controller.

See Also

Displaying a UI For Turn-Based Matches

init(matchRequest: GKMatchRequest)

Initializes a new matchmaker view controller.

var showExistingMatches: Bool

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

protocol GKTurnBasedMatchmakerViewControllerDelegate

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