From the course: Swift 6 Essential Training
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Gathering inventory with collections - Swift Tutorial
From the course: Swift 6 Essential Training
Gathering inventory with collections
- Now, that we've got variables, and types under our belts, we can explore collections. These special types are going to let us store data that basic types can't, like a list of high scores or the items and pricing of a shop's inventory. We'll also be looking at different ways to access and modify specific collection elements, as well as the common operations they come with right out of the box.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Gathering inventory with collections24s
-
(Locked)
Swift arrays4m 27s
-
(Locked)
Core array methods6m 47s
-
Swift dictionaries5m 39s
-
(Locked)
Core dictionary methods7m 6s
-
(Locked)
Working with sets4m 12s
-
(Locked)
Core set methods3m 35s
-
(Locked)
Swift tuples5m 10s
-
(Locked)
Challenge: Merchant shop32s
-
(Locked)
Solution: Merchant shop5m 19s
-
(Locked)
-
-
-
-
-