#import "ViewController.h"
@interface ViewController ()
@property (nonatomic,strong) NSArray *titleArray;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
_titleArray = @[@"1",@"2",@"3",@"4",@"5"];
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
NSLog(@"数组的正常打印 == %@",self.titleArray);
NSLog(@"数组的逆序打印 == %@",[[self.titleArray reverseObjectEnumerator] allObjects]);
}
@end