Something like this?
NSMutableSet* set1 = [NSMutableSet setWithArray:array1];
NSMutableSet* set2 = [NSMutableSet setWithArray:array2];
[set1 intersectSet:set2]; //this will give you only the obejcts that are in both sets
NSArray* result = [set1 allObjects];
This has the benefit of not looking...
room topic changed to IOS Developer Family: This is iOS developers family. Visit iosdeveloperfamily.webs.com. You can be members, write your own blogs, participate and can have support from iOS developers here as well.This is Not rule site. Its more informative for iOS Developers. [ios] [ipad] [iphone] [objective-c] [xcode]