正文

Swift中用var定义可变变量,让变量值在代码执行过程中可以改变。例如:var myVariable: Int = 10; myVariable += 1; // myVariable现在等于11