Created
July 6, 2011 06:16
-
-
Save stuartcarnie/1066668 to your computer and use it in GitHub Desktop.
Nested blocks discussion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void RetrieveFriends(GameCenter& gameCenter, GKLocalPlayer* localPlayer) | |
{ | |
[localPlayer loadFriendsWithCompletionHandler:^(NSArray* friends, NSError* error) | |
{ | |
[GKPlayer loadPlayersForIdentifiers:friends withCompletionHandler:^(NSArray* players, NSError* error2) | |
{ | |
dispatch_async(dispatch_get_main_queue(), ^(void) | |
{ | |
TestLala(gameCenter); //, friends, players, error2); | |
}); | |
}]; | |
}]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment