init(playerIDs:)
Initializes a leaderboard request to retrieve the scores of a specific group of players.
Declaration
init?(playerIDs: [String]?)Parameters
- playerIDs:
An array of
NSStringobjects that holds the player identifier strings of the players to retrieve.
Return Value
An initialized leaderboard request.
Discussion
A leaderboard object that you initialize with this method ignores the playerScope and range properties. Instead, it retrieves scores for the specific list of players whose identifiers are in the playerIDs parameter.