Contents

participants

The players that participate in a turn-based match.

Declaration

var participants: [GKTurnBasedParticipant] { get }

Mentioned in

Discussion

Use the objects in this array to show more information about the participants in your interface, such as their names, avatars, status, and outcomes. The size of the array and order of the participants remains the same throughout the match.

When you end a player’s turn or quit a match, choose the next participant from this array. If a participant represents an unfilled slot, it’s status property is GKTurnBasedParticipant.Status.matching. Game Center searches for a player to fill that spot only when you choose that participant as the next participant.

See Also

Related Documentation

Retrieving Match Details