This is a code snippet from Ray Wenderich's iOS 7 Best Practices article. He's basically fetching a JSON file and making a model for each in the list;
return [[self fetchJSONFromURL:url] map:^id(NSDictionary *json) {
RACSequence *list = [json[@"list"] rac_sequence];
return [[list map:^(NSDictionary *item) {
return [MTLJSONAdapter modelOfClass:[WXDailyForecase class] fromJSONDictionary:item error:nil];
}] array];
}];
What does that array
do?