Skip to content

Glossary: Swift Beyond the Basics

unowned

A reference that doesn't keep an object alive and isn't optional. It crashes if the object is gone, so use it only when the other object always outlives this one.

Where the book teaches it

Related terms

weak referenceretain cycle