Instance Property

category

The named leaderboard to retrieve information from.

Declaration

var category: 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

Deprecated Methods and Properties

class func setDefault(String?, withCompletionHandler: ((Error?) -> Void)?)

Sets the default leaderboard for the local player.

Deprecated
init?(playerIDs: [String]?)

Initializes a leaderboard request to retrieve the scores of a specific group of players.

Deprecated
class func loadCategories(completionHandler: (([String]?, [String]?, Error?) -> Void)?)

Loads the list of leaderboard categories along with their corresponding localized titles.

Deprecated