shared()
Returns the singleton matchmaker instance.
Declaration
class func shared() -> GKMatchmakerReturn Value
The shared matchmaker instance.
Discussion
Games don’t create a GKMatchmaker object. Use this method instead to get the shared singleton instance.