NSArray *arrayX = @[s1, s2, s3]; //PS: 此快捷方式仅可以创建不可变数组,可变数组不能这样创建. 等价于 arrayX = [NSArray arrayWithObjects: s1, s2, s3,nil];