Work Note: Stream for Mac
I got an early start this morning and managed to get to the coffee shop before they opened at 7AM. š
Once I got my coffee and settled in I got right to work. Got the app built and running then I noticed it wasnāt updating. DOH! Turns out my Mac had lost its mind and refused to connect to the network until I rebooted it. Even a Mac needs a reboot every now and then I suppose.
Iām still trying to figure out my feed item list UI rendering problem. When it reloads it goes through the proper code path; filters based on selection and tells the table view to reload itself. It does reload but half the time the items display off screen. I can get it to draw properly by scrolling the view. Thatās when I noticed it would draw properly every other selection. š³
This got me thinking about my choice to use SwiftUI for the table view cells. One thing about that choice is cell reuse is kind of strange. The only way Iāve been able to get them to draw properly is to make a new view, just the SwiftUI part, so it gets laid out properly. Iām fairly certain I could get this working by using SwiftUIās state mechanism but I decided to try doing a proper cell using AppKit and hook up the constraints manually. I have the cell put together and was working on constraints when I ran out of time for the day.
If Iām feeling rambunctious I may work on it a bit this week. If all else fails thereās always next Sunday.
Worked on

This is a tough one. And itās only tough because I donāt know AppKit as well as I do UIKit. Yes, Stream is still 100% UIKit and the Mac parts Iāve done are all AppKit. Iām thinking I may do some new features in SwiftUI because I need the practice. Iāve never built anything with SwiftUI.