Passionate & experienced tech enthusiast
On kevincoder.co.za, I write about my journey as a developer working across Django, Go, and everything in between, from large-scale systems to small, useful tools. Programming has been my passion for about 2 decades now, and I'm still loving it, so I experiment a lot and sometimes write about it.
Markdown supported · ⌘↵ to post
an interpreter that only needs to cover the common widgets is the right scope, since the preview loop is what matters for learning. one idea is a small list of unsupported views shown in the editor, so people know why something renders differently than in xcode.
Kevin Naidoo
Yunus Emre Vurgun
Interpreting a SwiftUI subset for a fast preview loop is a nice way to learn the declarative layout model without a Mac. Since the layout system is where people get confused most, a toggle that draws frame outlines with the proposed and chosen sizes for each view (stacks, Spacer, padding, frame modifiers) would make the editor a genuinely good teaching tool. It would also make it obvious when your interpreter's sizing rules drift from Apple's.