<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameKit",
  "identifier" : "/documentation/GameKit/GKLeaderboard/Entry",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "GameKit"
    ],
    "preciseIdentifier" : "c:objc(cs)GKLeaderboardEntry"
  },
  "title" : "GKLeaderboard.Entry"
}
-->

# GKLeaderboard.Entry

Information about a single score by a player on a leaderboard.

```
class Entry
```

## Topics

### Accessing Properties

[`context`](/documentation/GameKit/GKLeaderboard/Entry/context)

An integer value that your game uses.

[`date`](/documentation/GameKit/GKLeaderboard/Entry/date)

The date and time when the player earns the score.

[`formattedScore`](/documentation/GameKit/GKLeaderboard/Entry/formattedScore)

The player’s score as a localized string.

[`player`](/documentation/GameKit/GKLeaderboard/Entry/player)

The player who earns the score.

[`rank`](/documentation/GameKit/GKLeaderboard/Entry/rank)

The position of the score in the results of a leaderboard search.

[`score`](/documentation/GameKit/GKLeaderboard/Entry/score)

The score that the player earns.

### Presenting Challenges

[`challengeComposeController(withMessage:players:completion:)`](/documentation/GameKit/GKLeaderboard/Entry/challengeComposeController(withMessage:players:completion:))

Provides a challenge compose view controller with preselected player identifiers and a preformatted, player-editable message.

[`GKChallengeComposeHandler`](/documentation/GameKit/GKChallengeComposeHandler)

A completion block that provides information about the player who issues a challenge and the players who receive it.

[`challengeComposeController(withMessage:players:completionHandler:)`](/documentation/GameKit/GKLeaderboard/Entry/challengeComposeController(withMessage:players:completionHandler:))

Provides a challenge compose view controller with preselected player identifiers and a preformatted, player-editable message.



---

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)