Understanding Swift Initializers

As part of the Swift Deeper Understanding series I want to take a closer look at Initializers We will take a look at what an initializer is for structs and classes and we will look at creating multiple initializers for a struct or class and find out what a Convenience initializer is. We will finish the video by looking at how we can create a custom initializer for a SwiftUI HStack If you want to support my work, you can buy me a coffee :) https://ko-fi.com/stewartlynch Table of Contents: 0:00 Introduction 1:25 Introduction to Initializers 8:27 Multiple Initializers 14:35 Convenience Initializers 18:27 Custom HStack Initializer Starter Project Files: (If you are having problems downloading zip files, use Safari. Chrome restricts zip files by default) https://www.createchsol.com/StarterPr... Completed Project: https://github.com/StewartLynch/Under... References mentioned in video: Initializers Part 1    • Initializers Part I   Initializers Part 2    • Initializers Part 2   Other References: Stewart Lynch's YouTube Channel:    / @stewartlynch   Stewart Lynch on Mastodon: https://iosdev.space/@StewartLynch Stewart Lynch on Twitter:   / stewartlynch   Stewart Lynch on LinkedIn   / stewartlynch