iOS NSArray sortedArrayUsingDesc
2017-05-08 本文已影响201人
Alcander
- (NSArray*)sortedArrayUsingDescriptors:(NSArray*)sortDescriptors; // returns a new array by sorting the objects of the receiver
- (void)sortUsingDescriptors:(NSArray*)sortDescriptors; // sorts the array itself