Weeknotes № 47

London

Last week was intense but really fun. We taught a SwiftUI workshop on site which is always quite involved (with travel) but so worth it. There’s just no substitute for real face-to-face interaction. I think most people really appreciated our visualizations and explanations. We put a lot of time and effort into these, so it’s always great when this gets appreciated. This week we’ll do another on-site workshop but closer to home (in Hamburg)

To prepare the exercises I’ve used jj (instead of git) extensively. It’s such a time saver because we need to rewrite commits all the time.

After getting back from London I took an extra day off (for the most part, at least) to spend more time with the family. We also went to the Dutch embassy in The Netherlands to celebrate “Sinterklaas”, which was a lot of fun. I had quite the persistent cold so hardly did any exercise. Now it’s time for more traveling.

I took a minute to at least provide a brief update to my post about variadic views and how they relate to the new Group(subviews:transform:) API. It’s pretty cool that you can still use variadic views as a drop-in replacement for targeting older platforms.

I spent more time trying to implement the SwiftUI part of the attribute graph but couldn’t quite get it right. It’s definitely proven to be a bit tricky to write all of this code without any cycles. Specifically, I was trying to implement the node in the graph that allows you to attach an arbitrary Layout. Once that works, things like .frame, .padding or even HStack will be really easy to port over.