March 2014 update
This commit is contained in:
parent
09687c4926
commit
a25938f123
1846 changed files with 21876 additions and 5203 deletions
|
|
@ -9,9 +9,7 @@
|
|||
NSCountedSet *seen = [NSCountedSet setWithArray:self];
|
||||
int max = 0;
|
||||
NSMutableArray *maxElems = [NSMutableArray array];
|
||||
NSEnumerator *enm = [seen objectEnumerator];
|
||||
id obj;
|
||||
while( (obj = [enm nextObject]) ) {
|
||||
for ( obj in seen ) {
|
||||
int count = [seen countForObject:obj];
|
||||
if (count > max) {
|
||||
max = count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue