I have three NSMutableArray containing names that are added to the lists according to different criterieas.
Here are my arrays pseudocode:
NSMutableA
Here is a working variant from links above
NSPredicate *intersectPredicate = [NSPredicate predicateWithFormat:@"SELF IN %@", @[@500, @400, @600]]; NSArray *intersect = [@[@200, @300, @400] filteredArrayUsingPredicate:intersectPredicate];