nsarray - Sorting NSDate then associating it with its original unique ID -



nsarray - Sorting NSDate then associating it with its original unique ID -

i have 2 arrays, 1 made of nsdates , 1 that's made of ints utilize unique identifier.

i sort nsdate array using sortedarrayusingselector:@selector(compare:) sorts them perfectly, problem need associate dates original uid (the other nsarray).

is there simple way or have for/if statements?

couldn't associate 2 arrays in 1 nsdictionary? ok sort them way want.

sorting nsarray nsdate uid

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -