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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With