SwiftUI Field Guide

A fantastic SwiftUI resource floated down my social media stream recently.

A screenshot of the SwitUI Field Guide website showing the "Alignment" tutorial.

The SwiftUI Field Guide contains an extremely clever replica of the SwiftUI layout engine algorithm in TypeScript. The authors have leveraged that engine to make some nifty and interactive SwiftUI layout examples. The clear explanations, coupled with the interactive components make for easy understanding of some of the more complicated and occasionally non-intuitive aspects of SwiftUI. I wish all learning materials were this interactive.

While not a topic specific to spatial computing, if you are building software for the Vision Pro, chances are good you’ll need to exercise at least a little SwiftUI.