NSMutableArray *array = [NSMutableArray arrayWithObjects:@"5",@"2",@"3",nil];
NSArray* reversedArray = [[array reverseObjectEnumerator] allObjects];
NSLog(@"%@",reversedArray);
}
时间: 2024-11-07 13:04:50
NSMutableArray *array = [NSMutableArray arrayWithObjects:@"5",@"2",@"3",nil];
NSArray* reversedArray = [[array reverseObjectEnumerator] allObjects];
NSLog(@"%@",reversedArray);
}