Created
September 7, 2011 15:35
-
-
Save achalaggarwal/1200894 to your computer and use it in GitHub Desktop.
GCChute.all()
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
| //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