Skip to content

Instantly share code, notes, and snippets.

@beelsebob
Forked from seivan/gist:6201545
Last active December 20, 2015 21:59
Show Gist options
  • Select an option

  • Save beelsebob/6201559 to your computer and use it in GitHub Desktop.

Select an option

Save beelsebob/6201559 to your computer and use it in GitHub Desktop.
NSArray * playerIdentifiers = [matches SH_reduceValue:@[] withBlock:^id(NSArray *memo, GKTurnBasedMatch *obj) {
return [memo arrayByAddingObjectsFromArray:[obj SH_playerIdentifier]];
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment