NSMutableSet *intersection = [NSMutableSet setWithArray:newsmall];
//this shows an array of newsmall as expected
NSLog(@"intersection %@", intersection);
[intersection intersectSet:[NSSet setWithArray:newnewbig]];
//this shows nothing
NSLog(@"intersection %@", intersection);
//this shows an array of newnewbig as expected
NSLog(@"newnewbig %@", newnewbig);
NSArray *arrayfour = [intersection allObjects];
//this shows nothing
NSLog(@"arrayfour %@", arrayfour);
newsmall and newnewbig have some matched strings, so I expect arrayfour to show a couple of strings.
What did I do wrong?