Instance Property

isFriend

A Boolean value that indicates whether this player is a friend of the local player.

Declaration

var isFriend: Bool { get }

Discussion

Players use the Game Center app to declare other players as friends.

See Also

Player Details

var alias: String

A string chosen by the player to identify themselves to other players.

var displayName: String

A string to display for the player.