[Solved] Deleting the keys and values in NSDictionaries more than the value 100.000 kilometers

[ad_1]

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

[ad_2]

solved Deleting the keys and values in NSDictionaries more than the value 100.000 kilometers