开发者

displaying unique strings from an array

开发者 https://www.devze.com 2023-01-17 01:14 出处:网络
i want to get unique strings from an array and to store those strings into another ar开发者_JS百科ray..... give logic or sample code for this ...............thanks in advanceNSArray *uniqueArray = [[N

i want to get unique strings from an array and to store those strings into another ar开发者_JS百科ray..... give logic or sample code for this ...............thanks in advance


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

精彩评论

暂无评论...
验证码 换一张
取 消