Instance Property

identifier

A unique string used to identify the achievement.

Declaration

var identifier: String { get }

Discussion

The GKAchievementDescription property holds the identifier string you created for the achievement in App Store Connect.

See Also

Reading and Writing Achievement Properties

var title: String

A localized title for the achievement.

var unachievedDescription: String

A localized description of the achievement to be used when the local player has not completed the achievement.

var achievedDescription: String

A localized description to be used after the local player has completed the achievement.

var maximumPoints: Int

The number of points the player earns by completing this achievement.

var image: NSImage?

An image to display for the completed achievement.

var isHidden: Bool

A Boolean value that states whether this achievement is initially visible to players.

var isReplayable: Bool

A Boolean value that states whether this achievement can be earned multiple times.