Hi Forum,
I want to sort an array of NSDate. I have been doing some googling and aside from using descriptors it can be done like this
now does this sort the array in ascending date or descending date? how would i know?
I want to sort an array of NSDate. I have been doing some googling and aside from using descriptors it can be done like this
Code:
sortedArray = [unsortedArray sortedArrayUsingSelector:@selector(compare:)];
now does this sort the array in ascending date or descending date? how would i know?
Last edited by a moderator: