NSMutableArray *arr1 = [[NSMutableArray alloc]initWithObjects:@"1",@"2",@"3", nil];
NSMutableArray *arr2 = [[NSMutableArray alloc]init];
转换倒叙
arr2 = (NSMutableArray*)[[arr1 reverseObjectEnumerator]allObjects];
本文共 269 字,大约阅读时间需要 1 分钟。
NSMutableArray *arr1 = [[NSMutableArray alloc]initWithObjects:@"1",@"2",@"3", nil];
NSMutableArray *arr2 = [[NSMutableArray alloc]init];
转换倒叙
arr2 = (NSMutableArray*)[[arr1 reverseObjectEnumerator]allObjects];
转载于:https://www.cnblogs.com/qiangzheVSruozhe/p/9895776.html