标签:
#import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { NSMutableArray *array = [NSMutableArray arrayWithObjects:@"3",@"2",@"5",nil]; NSArray* reversedArray = [[array reverseObjectEnumerator] allObjects]; for (id str in reversedArray) { NSLog(@"%@",str); } } return 0; }
标签:
原文地址:http://www.cnblogs.com/xzz5211314/p/5120142.html