iphone - NSMutableArray - Remove duplicates -
i tried doing this: values = [[nsset setwitharray:values] allobjects];
, no sucess,
thanks
your method should work, except returns nsarray
instead of nsmutablearray
. use
[values setarray:[[nsset setwitharray:values] allobjects]];
to set values
content of new array.
Comments
Post a Comment