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.
Populating the game world - Swift Tutorial
From the course: Swift 6 Essential Training
Populating the game world
- At this point, we've covered the separate pieces of the Swift language that make up a basic program, but not how to combine them into coherent, usable objects. Up to now we've been using playgrounds, but in a real application we'll want classes and other data models that we can define and control. Mastering data modeling brings our Swift adventure one step closer to the finish line. So, let's get to it.
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)
Populating the game world26s
-
(Locked)
Value vs. reference types2m 43s
-
Basic Swift classes6m 24s
-
(Locked)
Access modifiers and properties7m 29s
-
(Locked)
Subclassing in Swift4m 21s
-
(Locked)
Basic Swift structs6m 9s
-
(Locked)
Chaining optionals6m 33s
-
(Locked)
Challenge: Inventory system34s
-
(Locked)
Solution: Inventory system5m 13s
-
(Locked)
-
-