summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/oc/for.m
blob: fc159fc6d0108bfe1a3b28deed2b8c8e21bf79a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[[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.");
}