0
致謝1,提前爲幫助:) 我有1的NSArray與國家的名單和1的NSSet此陣的:比較1的NSArray和1 NSSet中的副本計數在此
NSArray * nations = [[NSArray alloc]initWithObjects:@"russia",@"holland",@"switzerland",@"switzerland",@"belgium",@"holland",@"holland",@"czechia", nil];
NSSet * nationsSet = [NSSet setWithArray:nations];
現在我從nationsSet.count獲取tableview的段數,有一種方法可以檢查NSArray中包含的NSset的重複對象以獲取段中的行數?
荷蘭第3行,瑞士第2行,俄羅斯部分1排...
THX 亞歷