Skip to content

Glossary: Swift Basics

assignment

Also written: assign

Storing a value under a name with the `=` sign, such as `bagsLeft = 18`. It is different from `==`, which compares.

Where the book teaches it

Related terms

constantvariable