集合
//集合内容不会重复
NSSet *set = [NSSet setWithObjects:@"1",@"3",@"6",@"3",nil];//NSMutableSet为可变集合
NSArray *sarr = [set allObjects];
for(NSString *str in set)
{
    NSLog(@"%@", str);
}



首页 我的博客
粤ICP备17103704号