Skip to content

Glossary: Swift Basics

value type

Also written: value types

A type that is copied when assigned to another name, so changing the copy leaves the original alone. Structs, enums, `Int` and arrays are value types.

Where the book teaches it

Related terms

structreference type