Enumeration

GKLeaderboard.TimeScope

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

Declaration

enum TimeScope : Int

Topics

Constants

case today

Each player is restricted to scores recorded in the past 24 hours.

case week

Each player is restricted to scores recorded in the past week.

case allTime

Each player’s best score is returned.

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.

var identifier: String?

The named leaderboard to retrieve information from.

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

The image associated with the default leaderboard.