Slide 40
Slide 40 text
NSDictionary *dict = @{ @"one" : @1, @"two" : @2, @"three" : @3 };
[dict each:^(id key, id value) {
NSLog(@"Key: %@, Value: %@", key, value);
}];
// Key: one, Value: 1
// Key: two, Value: 2
// Key: three, Value: 3
Saturday, September 21, 13