Instance Property


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


var isReplayable: Bool { get }


If the value of this property is false, then the achievement may only be earned once. After the achievement is earned, Game Center ignores any further progress submitted for it. If the value of this property is true, then the achievement is considered earned each time your game reports progress to Game Center that completes the achievement. This means that any appropriate banners are displayed to the player again, challenges based on the achievement are completed, and so on.

See Also

Reading and Writing Achievement Properties

var identifier: String

A unique string used to identify the achievement.

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.