标签:
NSSortDescriptor *sortDescriptor; sortDescriptor = [[NSSortDescriptor alloc]initWithKey:@"dtDateReal" ascending:NO]; NSArray *sortDescriptors = [NSArray arrayWithObject:sortDescriptor]; NSArray *sortedArray; sortedArray = [self.courseLists sortedArrayUsingDescriptors:sortDescriptors]; self.courseLists = sortedArray;
参考网址http://segmentfault.com/q/1010000000120607
标签:
原文地址:http://www.cnblogs.com/huoxingdeguoguo/p/4766940.html