Contents

shared()

Returns the singleton matchmaker instance.

Declaration

class func shared() -> GKMatchmaker

Return Value

The shared matchmaker instance.

Discussion

Games don’t create a GKMatchmaker object. Use this method instead to get the shared singleton instance.