Instance Property

turnBasedMatchmakerDelegate

The view controller’s delegate.

Declaration

weak var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate? { get set }

Discussion

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.