I\'m really new to Swift and I just read that classes are passed by reference and arrays/strings etc. are copied.
Is the pass by reference the same way as in Objecti
Swift assign, pass and return a value by reference for reference type and by copy for Value Type
assign
pass
return
reference type
Value Type
[Value vs Reference type]
If compare with Java you can find matches:
Java
struct