Glossary: Swift Beyond the Basics
value semantics
Also written: value type, value types
Each copy is independent, so changing one leaves the others alone. Structs, enums, strings and collections work this way.
Glossary: Swift Beyond the Basics
Also written: value type, value types
Each copy is independent, so changing one leaves the others alone. Structs, enums, strings and collections work this way.