Day 10 Complete

2022-07-06 1 min read

Today I’ve completed Day 10 of the 100 Days of SwiftUI challenge.

Today was all about structs, creating your own structs, stored properties, computed properties, property observers and initializers. As I have a background in Golang where structs are used, i’m familiar with the way structs work. But Swift structs resemble classes much more than golang structs. In many ways I actually prefer the Swift way of doing this. It’s clear and all encompassing and they are more powerful than golang structs, with their computed properties and property observers.