Created
April 29, 2010 15:37
-
-
Save veader/383783 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSSortDescriptor *sortByDate = [[NSSortDescriptor alloc] initWithKey:@"self" ascending:NO]; | |
NSArray *sortingDescriptors = [NSArray arrayWithObject:sortByDate]; | |
[sortByDate release]; | |
// sort array and save for later | |
alertDates = [[tempDates sortedArrayUsingDescriptors:sortingDescriptors] retain]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment