Created
August 29, 2012 08:41
-
-
Save matzew/3508647 to your computer and use it in GitHub Desktop.
Read data from app and hand it over to the app
This file contains 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
... | |
// 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