方法一
NSMutableArray *arrayM1 = [NSMutableArray arrayWithObjects:@1,@2,@3, nil];
方法二
NSMutableArray *arrayM2 = [[NSMutableArray alloc] initWithObjects:@1,@2,@3, nil];
方法三
NSMutableArray *arrayM3 = [NSMutableArray arrayWithArray:@[@1,@2,@3]];
NSMutableArray *arrayM1 = [NSMutableArray arrayWithObjects:@1,@2,@3, nil];
NSMutableArray *arrayM2 = [[NSMutableArray alloc] initWithObjects:@1,@2,@3, nil];
NSMutableArray *arrayM3 = [NSMutableArray arrayWithArray:@[@1,@2,@3]];