filteredarrayusingpredicate专题

iOS: NSArray的方法filteredArrayUsingPredicate:

- (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate 用谓语筛选数组,返回一个新数组。 example NSMutableArray *array =     [NSMutableArray arrayWithObjects:@"Nick", @"Ben", @"Adam",