Skip to content

Instantly share code, notes, and snippets.

@marshluca
Created July 14, 2011 01:10
Show Gist options
  • Save marshluca/1081677 to your computer and use it in GitHub Desktop.
Save marshluca/1081677 to your computer and use it in GitHub Desktop.
iOS代码片段
1.倒序输出一个数组
NSMutableArray *array = [NSMutableArray arrayWithObjects:@"1",@"2",@"3",nil];
NSArray* reversedArray = [[array reverseObjectEnumerator] allObjects];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment