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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

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