In today’s tutorial, I’ll be working on the following.
In this tutorial, you’ll learn how to use reference type models with SwiftUI views. You’ll display meeting time and progress in views that better represent the final design. And you’ll integrate with AVFoundation to play audio when the scrum’s state changes.
It’s supposed to be 30 minutes.
Section 1: Create an Overlay View
In this tutorial, I’ve seen more warnings during the individual steps than I have with the previous days.
For me, this causes a little bit of anxiety as I think more about “how do I make this go away?” Versus “how am what I’m doing going to make this work?”
Section 2: Extract the Meeting Header
Purpose: Learning about making composited views
The steps have been pretty easy to follow.
I HATE ternary statements!
minutesRemaining == 1 ? "minute" : "minutes"
All in all, pretty fun to follow along with.
Section 3: Add Design Elements to the Meeting Header
Purpose: Make the component view use dynamic properties
As I’m adding things to make the message signature, I notice that some lines need to be wrapped. Xcode does a good job of making it legible, but I’ve spent a lot of time having code be wrapped at 80 characters for one reason or another.
End for the day
I decided that I was going to end programming for the day.
As of December 22nd, 2020. ↩︎