Instance Property

identifier

The named leaderboard to retrieve information from.

Declaration

var identifier: String? { get set }

Discussion

If non-nil, Game Center only returns scores from the matching leaderboard. If nil, all scores previously reported by the game are searched. Default is nil.

See Also

Customizing the Leaderboard Request

var playerScope: GKLeaderboard.PlayerScope

A filter used to restrict the search to a subset of the players on Game Center.

enum GKLeaderboard.PlayerScope

The scope of players to be searched for scores.

var range: NSRange

The numerical score rankings to return from the search.

var timeScope: GKLeaderboard.TimeScope

A filter used to restrict the search to scores that were posted within a specific period of time.

enum GKLeaderboard.TimeScope

The period of time to which a player’s best score is restricted.

func loadImage(completionHandler: ((UIImage?, Error?) -> Void)?)

The image associated with the default leaderboard.