Skip to content

Instantly share code, notes, and snippets.

@HaloZero
Created September 11, 2014 20:05
Show Gist options
  • Save HaloZero/bad69a15453616a6dc39 to your computer and use it in GitHub Desktop.
Save HaloZero/bad69a15453616a6dc39 to your computer and use it in GitHub Desktop.
[@{@"1" : @"1", @"2" : @"3", @"3" : @"4", @"4" : @"5", @"5" : @"5"} enumerateKeysAndObjectsWithOptions:NSEnumerationReverse usingBlock:^(id key, id obj, BOOL *stop) {
NSLog(@"key is %@", key);
if ([key isEqualToString:@"4"]) {
stop = YES;
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment