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
Classes are passed by references and others are passed by value in default. You can pass by reference by using the inout keyword.
inout