blob: 35c34bce22c5b97fb8ad2a6a274f811b8f8cfd09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[[HRNewsService sharedInstance] fetchBreakingNewsItemWithId: self.breakingNewsId
success:^(id responseObject) {
NSDictionary *thing;
for (NSArray *dictionary in photos)
{
}
}
failure:^(NSError *error) {
// Failure?
}];
// We also need to consider cases where a non-pointer type (or, a pointer without the star) is declared in ObjC.
for (id obj in someDictionary)
{
NSLog(@"This could be anything! Objective-C really needs parametrized collections.");
}
|