//需要倒叙的数组
NSMutableArray* marray = [responseObject[@"data"]valueForKey:@"activity"];
//倒叙的数组
NSArray* reversedArray = [[marrayreverseObjectEnumerator]allObjects];
NSLog(@"排序后的数组: %@", reversedArray);
//需要倒叙的数组
NSMutableArray* marray = [responseObject[@"data"]valueForKey:@"activity"];
//倒叙的数组
NSArray* reversedArray = [[marrayreverseObjectEnumerator]allObjects];
NSLog(@"排序后的数组: %@", reversedArray);
本文标题:数组倒叙输出
本文链接:https://www.haomeiwen.com/subject/ptkuwttx.html
网友评论