You’ve learned about Arrays. Now it’s time to learn about Dictionaries which is another highly used and highly useful tool to keep track of collections of data!

While the Array excels at storing ordered collections, the Dictionary shines at retrieving exactly the piece of data you need, when you need it.

In this lesson, I’ll tell you all about how Dictionaries work and how to use them. You’ll also learn when to use an Array versus when to use a Dictionary to hold your data!

Finally, don’t forget to download the worksheet below to get extra practice!

Learning more effectively by doing the lesson worksheet:

My Courses:



About this video series:

This 7 part video series is the next step from the War Card game (which can be found here:

You’ll continue building your skills with Swift and learn some critical concepts that will enable you to build more complex apps and express more complex logic with your Swift code.


This video series uses the latest and greatest from Apple (Xcode 9, Swift 4, iOS 11) and will teach a beginner with no programming experience how to make iPhone apps. I’m creating these videos with the assumption that the student has no prior knowledge and is starting from scratch.

For more tutorials on how to build iPhone apps, make sure you subscribe and visit my site where you’ll find a community of like minded learners! Learning something new is always more fun with other people!

CodeWithChris is dedicated to teaching beginners and non-programmers all about how to make an app. On the site, you’ll find a ton of free resources and tutorials to aid you on your journey to learn iOS development. Many people have successfully picked up Swift 4, Xcode 9 and app building from my course and materials!

Here’s just a sample of the success stories my students have sent in: