Structs in Swift have call-by-value semantics. If you pass a struct to a function, the struct is copied and a new value is created.
確定! 回上一頁