Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026
The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.
Collections are fundamental data structures that let you store and organize multiple values. Swift provides powerful, type-safe collection types that make working with groups of data both safe and efficient.
In this unit, you’ll learn to work with Swift’s collection types. We’ll cover arrays for ordered lists of values, dictionaries for key-value pairs, sets for unique unordered values, and tuples for grouping related values together. You’ll learn how to create, modify, and iterate through these collections.
Mastering collections is essential for any Swift developer, as they’re used in virtually every application for storing and manipulating data.
Lessons in this unit:
| 0: | ▶︎ Introduction |
| 1: | Arrays |
| 2: | Shuffling Arrays |
| 3: | Random Array Items |
| 4: | Dictionaries |
| 5: | Sets |
| 6: | Tuples |