Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Swift: Arrays, Sets, and Dictionaries

via Codecademy

Overview

Continue your Swift journey by learning these collection types: arrays, sets, and dictionaries!
Continue your Swift learning journey! Incorporate collection types that allow you to store data in a meaningful way. Arrays store elements and keep the ordering, sets can sort a collection of unique data, and dictionaries create unique key-value pairs. Having these concepts under your toolbelt will ensure that you are able to store, access, and manipulate valuable information.



### Take-Away Skills
By the end of this course, you will be able to:
* Create lists of ordered information using arrays.
* Create collections of unique information using sets.
* Create unique key-value pairs with a dictionary.
* Identify when to use a specific collection type.
* Manipulate the data within arrays, sets, and dictionaries.


### Notes on Prerequisites
We recommend that you complete [Learn Swift: Variables](https://www.codecademy.com/learn/learn-swift-control-flow-and-loops) before completing this course.

Syllabus

  • Arrays & Sets: Learn how to use Swift arrays and sets to keep your data organized.
    • Lesson: Arrays
    • Quiz: Arrays
    • Project: Make a Mixtape 101
    • Project: Palindrome
    • Project: Caesar's Cipher
    • Lesson: Sets
    • Quiz: Sets
    • Project: School Roster
  • Dictionaries: Learn how to store pairs of data using the dictionary collection type.
    • Lesson: Dictionaries
    • Article: What are Tuples?
    • Quiz: Dictionaries
    • Article: if-let Statements
    • Project: Morse Decoder
    • Informational: Next Steps

Taught by

Kenny Lin

Reviews

4.8 rating at Codecademy based on 33 ratings

Start your review of Learn Swift: Arrays, Sets, and Dictionaries

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.