Swift 3 基礎 — Class (Part. 1)
BoShi Lee
61

相信大家都已經看出,這邊的 doggie2 其實是 doggie 複製給他的,所以我們在改變 doggie.number = 43 時,並不會改變到 doggie 的任何 properties。

這邊應該是doggie2.number = 43

小錯誤。

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.