Skip to content

Glossary: Swift Beyond the Basics

class

Also written: reference type, reference types

A type whose instances are shared: assigning one gives a second name for the same object. Choose it for one shared object with identity, such as a café's `Tab`.

Where the book teaches it

Related terms

value semanticsidentityARC (automatic reference counting)