daoseng33 3 1 月, 2018 27 12 月, 2021 學習筆記 [Swift小教室] 關於 inout(copy-in copy-out) 在 Swift 中,一個 function 傳入的參數無法直接改變它的值,先看一個例子: func …