Skip to content

Instantly share code, notes, and snippets.

@beelsebob
Forked from seivan/gist:6201583
Last active December 20, 2015 21:59
Show Gist options
  • Save beelsebob/6201641 to your computer and use it in GitHub Desktop.
Save beelsebob/6201641 to your computer and use it in GitHub Desktop.
NSMutableArray *playerIds = [[NSMutableArray alloc] init];
for (GKTurnBasedMatch *match in theMatches)
{
[playerIds addObjectsFromArray:[match playerIdentifiers]];
}
[playerIds addObjectsFromArray:friends];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment