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

Popular posts from this blog

c++ - Compiling static TagLib 1.6.3 libraries for Windows -

xslt - Umbraco and EXSLT sets do not work -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -