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.
Yunus Emre Vurgun
Writing about AI agents, hardware, and practical software.
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.