Instance Property

playerID

A string used to identify the player who earned the achievement.

Declaration

var playerID: String { get }

See Also

Deprecated Methods and Properties

func challengeComposeController(withPlayers: [String]?, message: String?, completionHandler: GKChallengeComposeCompletionBlock?) -> UIViewController?

Provides a challenge compose view controller with pre-selected player identifiers and a message.

Deprecated
var isHidden: Bool

A Boolean value that states whether this achievement is normally kept secret from the player.

Deprecated
init(identifier: String?, forPlayer: String)

Initializes an achievement for a specific player.

Deprecated
func issueChallenge(toPlayers: [String]?, message: String?)

Issue an achievement challenge to a list of players.

Deprecated
func report(completionHandler: ((Error?) -> Void)?)

Reports the player’s progress to Game Center.

Deprecated
func selectChallengeablePlayerIDs([String]?, withCompletionHandler: (([String]?, Error?) -> Void)?)

Finds the subset of players that can earn an achievement.

Deprecated