---
title: identifier
framework: gamekit
role: symbol
role_heading: Instance Property
path: gamekit/gkleaderboard/identifier
---

# identifier

The named leaderboard to retrieve information from.

## Declaration

```swift
var identifier: String? { get set }
```

## Discussion

Discussion If non-nil, Game Center only returns scores from the matching leaderboard. If nil, Game Center searches all previous scores of the game. The default is nil.

## See Also

### Deprecated properties

- [category](gamekit/gkleaderboard/category.md)
- [isLoading](gamekit/gkleaderboard/isloading.md)
- [localPlayerScore](gamekit/gkleaderboard/localplayerscore.md)
- [maxRange](gamekit/gkleaderboard/maxrange.md)
- [playerScope](gamekit/gkleaderboard/playerscope-swift.property.md)
- [range](gamekit/gkleaderboard/range.md)
- [scores](gamekit/gkleaderboard/scores.md)
- [timeScope](gamekit/gkleaderboard/timescope-swift.property.md)
