陈斌彬的技术博客

Stay foolish,stay hungry

数组倒序排列

NSMutableArray *array = [[[NSMutableArray alloc] initWithObjects:@"1", @"2", @"3", nil] autorelease];
array = (NSMutableArray *)[[array reverseObjectEnumerator] allObjects];