Type Method

shared()

Returns the shared instance of the event handler.

Declaration

class func shared() -> GKTurnBasedEventHandler

Return Value

An event handler object.

Discussion

Your game never directly creates a GKTurnBasedEventHandler object. Instead, retrieve the shared instance using this class method.

See Also