Instance Property

maxRange

The size of the leaderboard.

Declaration

var maxRange: Int { get }

Discussion

This property is invalid until a call to loadScores(completionHandler:) is completed. Afterward, it contains the total number of entries available to return to your game given the filters you applied to the query.

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 scores: [GKScore]?

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

var localPlayerScore: GKScore?

The score earned by the local player.