Alex Does Things Poorly

Alex does a variety of things poorly - swift, data science, datavis, ML, drawing, AR, unity, etc, etc.

9 July 2021

SwiftUI Project 7, Day 1

by alex

Late night tonight. I didn’t get to a session of 100 Days of SwiftUI with everything else that was going on, so I started it near midnight.

I’d used the @ObservableObject property wrapper before, but I’m not sure I totally understood what made it different from @State, despite the obvious difference implied in the name (one wraps reference types, one wraps value types). It was good to go over why you’d use @ObservableObject in a little more detail.

A few other things that were new to me:

All together a nice list of bits and bobs, a few of whihch I’ll be migrating into my SwiftUI rewrite of iNat straight away. That’s coming along nicely, by the way, I got login working with Apple’s AuthenticationServices which I hadn’t used before, and got started on a camera / new observation flow.

tags: swift - swiftui