I've got an array (actually a mutable array) of NSStrings, and I want to find out how many unique elements the are in the array.
For instance, say the array is made up of:
Orange, Lemon, Lemon, Orange, Lemon
Then there are just two unique elements (Orange and Lemon). And this array:
Paul, Steve, John, Harry, Paul, John
..has four unique unique elements.
How do I discover this number?