Skip to content

Glossary: Swift Basics

dictionary

Also written: dictionaries

A collection that stores values under unique keys, like a menu mapping `"lat"` to 4.75. It has no fixed order and lookups give an optional.

Where the book teaches it

Related terms

arraysetoptional