Contents

GKBasePlayer

A class that provides common data and methods for the different player objects.

Declaration

class GKBasePlayer

Overview

GKBasePlayer is the abstract superclass for the classes that represent the local player running your app and remote players who may join their games. Use the GKLocalPlayer subclass to initialize the local player who runs your app on their device. Then you can access the local player’s nickname, avatar, leaderboards, and achievements. You can also invite other players (GKPlayer objects), and send information between players.

Topics

Identifying a Player

See Also

Players