SwiftUI: Render your Mojave SwiftUI Views on the fly

I got tired of having to do only one thing at a time when I just wanted to poke at some views. Gist here.

At some point, I’ll create playground previews instead of pulling the rendered image. I just ran out of time.  (You can’t conform View and if you conform the individual types, it doesn’t work.)

Comments are closed.