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
Post a Comment