Ch. 4.1 enums in Swift (part of the Dungeon Dice app in SwiftUI series)

Published: 14 September 2022
on channel: Prof. John Gallaugher
919
28

Learn the basics and some advanced topics re: using enums in Swift. We'll use basic enums, enums with rawValues, we'll create a computed property in an enum, create CaseIterable and Equitable enums, we'll use implicit assigned rawValues, we'll work with associated values, and we'll learn the rarely-discussed technique of using a custom enum method to extract the components of an enum's associated value. This is the first video in the series that will end in the creation of the Dungeon Dice app.
Part of a university course by Prof. John Gallaugher designed for the absolute beginner, where students will learn to program using Swift + SwiftUI. The course will move from no assumed prior programming experience while students learn fundamental, then intermediate and advanced concepts, culminating in a full stack app. Full free course playlist at:
https://bit.ly/prof-g-swiftui

This course will roughly mirror the content covered in my UIKit course at https://bit.ly/prof-g-swift. Subscribe - many more videos coming soon!


Watch video Ch. 4.1 enums in Swift (part of the Dungeon Dice app in SwiftUI series) online without registration, duration hours minute second in high quality. This video was added by user Prof. John Gallaugher 14 September 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 919 once and liked it 28 people.