摘要: 一、修改方法的外部参数名称,例子如下class Counter { var count = 0; func increment() { count++; } func incrementBy(amount:Int, numOfTimes:Int){ count += amount... 阅读全文