Programming in Swift: Fundamentals

Oct 19 2021 · Swift 5.5, iOS 15, Xcode 13

Part 4: More Collections

27. Introduction

Episode complete

Play next episode

Next
About this episode

Leave a rating/review

See forum comments
Cinema mode Mark complete Download course materials
Previous episode: Part 3 Quiz Next episode: 28. Creating & Populating Dictionaries

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Notes: 27. Introduction

Update Notes: The student materials have been reviewed and are updated as of October 2021.

Transcript: 27. Introduction

Hey everyone! I’m Chris, and welcome to the fourth section of this course, More Collections. You learned about some basic collections in the second part of this course - those were tuples, and arrays. And while those collections are useful, sometimes you need some more powerful ways to store and work with collections of data. That leads you to the next two collection types in this course: dictionaries and sets!

You’ll start by learning how dictionaries work, what a key-value pair is, some of the neat features of dictionaries, and how to iterate over dictionaries with a loop. Those loops are handy, aren’t they?

Then you’ll learn about another powerful collection in Swift: the Set. Sets are a little like arrays, and a little like dictionaries, but Sets are most useful when you’re comparing two or more Sets for similarities and differences.

And as always, I’ll have a few challenges for you along the way to help you check your knowledge and give you a chance to show off what you know!

Let’s get started, so head straight into the next video and I’ll see you there!