Contents

local

The shared instance of the local player.

Declaration

class var local: GKLocalPlayer { get }

Return Value

The local player object.

Discussion

You never directly create a local player object. Instead, use this method to get the shared instance.