Are swift classes inside struct passed by copy during assignment? Passed by reference. You can test it. Declare: class A{} struct B { let a = A()}.
確定! 回上一頁