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

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

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