Skip to content

Instantly share code, notes, and snippets.

@asparagui
Created December 20, 2013 04:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asparagui/8050528 to your computer and use it in GitHub Desktop.
Save asparagui/8050528 to your computer and use it in GitHub Desktop.
//problem:
[queryA findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
doThingWithAObjects;
}];
[queryB findObjectsInBackgroundWithBlock:^(NSArray *objects, NSError *error) {
doThingWithBObjectsThatNeedsToHappenAfterAIsDone;
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment