i\'m scanning wifi info using NSMutableArray, but there are few duplicate values appear, so i try to use following code but still getting the duplicate values,
This is another way:
- (NSArray *)removeDuplicatesFrom:(NSArray *)array { NSSet *set = [NSSet setWithArray:array]; return [set allObjects]; }