player
The player who earned the score.
Declaration
var player: GKPlayer { get }Discussion
When you initialize a new score object, the player property is the local player. If the score object was returned to your game by loading scores from Game Center, the player property is the player who earned that score.