Instance Property


An array of GKScore objects that contains the scores returned by the search.


var scores: [GKScore]? { get }


This property is invalid until a call to loadScores(completionHandler:) is complete. Afterward, it contains the same score objects that were returned to the completion handler.

See Also

Retrieving High Scores

var isLoading: Bool

A Boolean value that indicates whether the leaderboard object is retrieving scores.

var title: String?

The localized title for the leaderboard.

var localPlayerScore: GKScore?

The score earned by the local player.

var maxRange: Int

The size of the leaderboard.