标签:ar for sp c bs r object array it
//move the repeated item
NSInteger index = [orignalArray count] - 1;
for (id object in [orignalArray reverseObjectEnumerator]) {
if ([orignalArray indexOfObject:object inRange:NSMakeRange(0, index)] != NSNotFound) {
[orignalArray removeObjectAtIndex:index];
}
index--;
}
标签:ar for sp c bs r object array it
原文地址:http://www.cnblogs.com/lisa090818/p/3944479.html