In 2018, we wrote a post about using AppKit from the command line. We can use exactly the same technique to run a SwiftUI app directly from a Swift file. When you’re writing a quick tool, perhaps to visualize something, or to get user feedback, an Xcode project can feel like overkill.

Read more