<!--
{
  "availability" : [
    "iOS: 4.0.0 - 14.0.0",
    "iPadOS: 4.0.0 - 14.0.0",
    "macCatalyst: 13.1.0 - 14.0.0",
    "macOS: 10.8.0 - 11.0.0",
    "tvOS: 9.0.0 - 14.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 7.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKLeaderboard/scores",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKLeaderboard(py)scores"
  },
  "title" : "scores"
}
-->

# scores

An array of scores that contains the scores that the search returns.

```
var scores: [GKScore]? { get }
```

## Discussion

This property is invalid until a call to [`loadScores(completionHandler:)`](/documentation/GameKit/GKLeaderboard/loadScores(completionHandler:)) is complete. Afterward, it contains the same score objects that GameKit returns to the completion handler.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)