Type Method

shared()

Retrieves the shared instance of the dialog controller.

Declaration

class func shared() -> GKDialogController

Return Value

The shared dialog controller.

Discussion

Game Kit provides the shared dialog controller as a convenience. Your game can either use the shared dialog controller provided by this method, or it can instantiate its own GKDialogController object and configure it. You might create multiple GKDialogController objects when each should be presented in its own window.

See Also