Instance Property


The delegate for the matchmaker view controller.


unowned(unsafe) var matchmakerDelegate: GKMatchmakerViewControllerDelegate? { get set }


A delegate is required to receive feedback when the match is created.

See Also

Getting and Setting the Delegate

protocol GKMatchmakerViewControllerDelegate

A class implements the GKMatchmakerViewControllerDelegate protocol to receive notifications from a GKMatchmakerViewController object. The delegate is called if a new match has been successfully created, if the user cancels matchmaking, and if an error occurs. In all three cases, the delegate should dismiss the view controller.