Skip to content

Instantly share code, notes, and snippets.

@matzew
Created August 29, 2012 08:41
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 matzew/3508647 to your computer and use it in GitHub Desktop.
Save matzew/3508647 to your computer and use it in GitHub Desktop.
Read data from app and hand it over to the app
...
// get access to the projects pipe
projectsPipe = [todoPipeline get:@"projects"];
...
__block id dataStructure = nil;
[projectsPipe read:^(id responseObject) {
// store the received data inside of
// the running application:
dataStructure = responseObject;
} failure:nil];
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment