You can filter the dd
as below:
NSSet *keys = [dd keysOfEntriesPassingTest:^BOOL(NSString *key, NSNumber *obj, BOOL *stop) {
return obj.floatValue < 10000;
}];
NSLog(@"%@", keys);
[keys enumerateObjectsUsingBlock:^(NSString *key, BOOL *stop) {
NSLog(@"%@", dd[key]);
}];
2
solved Deleting the keys and values in NSDictionaries more than the value 100.000 kilometers