3 ms·
Looking at the example given of how lovely obj-c is: filteredArray = [allRecords filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"someField ==
by hamidpalo 15y ago
Looking at the example given of how lovely obj-c is:
filteredArray = [allRecords filteredArrayUsingPredicate:[NSPredicate predicateWithFormat:@"someField == %d", someFieldFilterValue]];
Makes me wonder if the author has ever seen languages that do this like so:
let filteredArray = Seq.filter (fun f -> f = "foo") allRecords