Ok.
I have an array with multiple objects populated by my core data stack . Lets say each object has a name, startdate, enddate and amount attribute associated with them
What I need to do is reduce this array down to only the unique objects (not just values) based on the name, which is an NSString.
I've tried isEqual methods within for loops, while loops and using sets, and I can't seem to figure it out.
Any ideas?
UPDATE: I should be more clear. Basically what I want to do is take an existing array, and delete duplicate objects with the same attribute value and end up with an array of unique objects.