Instance Property

message

A message displayed to all players in the match.

Declaration

var message: String? { get set }

Discussion

The message property is displayed by the standard user interface; this allows your game to use the message to inform players of the current state of the match.

See Also

Retrieving Information About the Match

var participants: [GKTurnBasedParticipant]

Information about the players participating in the match.

var currentParticipant: GKTurnBasedParticipant?

The participant whose turn it is to act next.

var matchData: Data?

Game-specific data that reflects the details of the match.

var matchDataMaximumSize: Int

Returns the limit the Game Center servers place on the size of the match data.

var creationDate: Date

The date that the match was created.

var matchID: String

A string that uniquely identifies the match.

var status: GKTurnBasedMatch.Status

The current state of the match.

enum GKTurnBasedMatch.Status

The different states that a match can enter.