user452815
user452815

Reputation: 13

displaying unique strings from an array

i want to get unique strings from an array and to store those strings into another array..... give logic or sample code for this ...............thanks in advance

Upvotes: 0

Views: 363

Answers (1)

Vladimir
Vladimir

Reputation: 170849

NSArray *uniqueArray = [[NSSet setWithArray: yourArray] allObjects];

Upvotes: 1

Related Questions