Skip to content

Instantly share code, notes, and snippets.

@achalaggarwal
Created September 7, 2011 15:35
Show Gist options
  • Select an option

  • Save achalaggarwal/1200894 to your computer and use it in GitHub Desktop.

Select an option

Save achalaggarwal/1200894 to your computer and use it in GitHub Desktop.
GCChute.all()
//Synchronous Request
GCResponse *_response = [GCChute all];
for (GCChute *chute in [_response object]) {
//Individual Chutes
NSLog(@"%@", chute);
}
//Asynchronous Request
[GCChute allInBackgroundWithCompletion:^(GCResponse *response) {
for (GCChute *chute in [response object]) {
//Individual Chutes
NSLog(@"%@", chute);
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment