Instance Property

players

An array of GKPlayer objects that represent the players in the match.

Declaration

var players: [GKPlayer] { get }

See Also

Working with Other Players

var expectedPlayerCount: Int

The remaining number of players who have not yet connected to the match.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software