Did you know that the NSArray class has a way of allowing you to easily find any unique values within it. In today's post i'll walk you though how to achieve this. Lets first assume we have an array of data that looks like this: NSArray* data = @[@"Apples", @"Oranges", @"Grapes", @"Apples", @"Bananas"]; Looking at the array, we can see that value: "Apples" appears twice. So how do we find only the unique values in our array. Well...(read more)
↧