I\'m currently enumerating through NSMutableArray (or NSMutableSet) elements to find duplicates and remove them.
NSMutableArray
NSMutableSet
For example, if array/set
Only this line of code will work fine .
NSSet *mySet = [NSSet setWithArray:myArray];
now mySet will have unique elements.