Skip to content

Glossary: Swift Beyond the Basics

associated value

Also written: associated values

Extra data attached to an enum case. `SyncError.rejected(id:)` carries the id of the rejected order.

Where the book teaches it

Related terms

typed throws