Created
September 18, 2014 20:42
-
-
Save ryanfitz/bf95748a2a06af8db5e8 to your computer and use it in GitHub Desktop.
foobar.m
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
for (NSDictionary *data in responseObject[@"discussions"]) { | |
NFTDiscussionModel *discussion = [MTLJSONAdapter modelOfClass:[NFTDiscussionModel class] | |
fromJSONDictionary:data error:nil]; | |
[items addObject:discussion]; | |
} | |
success([items firstObject]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment