Instance Property

friends

An array of NSString objects containing the player identifiers for the local player’s friends.

Declaration

@property(nonatomic, readonly, retain) NSArray<NSString *> *friends;

Discussion

This property is invalid until a call to loadFriendsWithCompletionHandler: succeeds.

See Also

Deprecated Methods and Properties

- authenticateWithCompletionHandler:

Authenticates the local player on the device.

Deprecated
- loadDefaultLeaderboardCategoryIDWithCompletionHandler:

Loads the category identifier for the local player’s default leaderboard.

Deprecated
- loadFriendPlayersWithCompletionHandler:

Retrieves a list of player identifiers for the local player’s friends.

Deprecated
- loadFriendsWithCompletionHandler:

Retrieves a list of player identifiers for the local player’s friends.

Deprecated
- setDefaultLeaderboardCategoryID:completionHandler:

Sets the category identifier for the local player’s default leaderboard.

Deprecated