i tried doing this: Values = [[NSSet setWithArray:Values] allObjects];
and no sucess,
Thanks
Your method should work, except it returns an NSArray
instead of NSMutableArray
. You could use
[values setArray:[[NSSet setWithArray:values] allObjects]];
to set values
to the content of the new array.