swiftpreview renders SwiftUI #Preview on macOS without Xcode, built for coding agents
traviscline · x · 2026-12-06
- swiftpreview (MIT, open source) compiles and renders unmodified SwiftUI #Preview files directly on macOS (darwin/arm64) without Xcode or cgo.
- It ships with an MCP server and skills, so coding agents like Claude can drive it: the author demos a single prompt — "clone this and make native macOS views, pull up a live gallery so I can follow along."
- Modules for rendering, gallery view, visual linting and doctor checks give agents a visual feedback loop for autonomous SwiftUI development.
More from coding & agent
- Step-by-step tutorial: Deploy a PydanticAI agent with Docker, Cloud Run and GitHub Actions — Al_Grigor · 2026-12-06
- Astra 6.2 builds a cozy village-builder game; dev open-sources the game-dev Skills — Promptmethus · 2026-12-06
- Custom Ultramarine theme released for NousResearch's Hermes Agent Desktop — Teknium · 2026-12-06
- Build an interactive Earth with AI agents on NASA's free petabyte-scale open data — Promptmethus · 2026-12-06
- 11.2B open model Apprentice impresses as subagent: zero sycophancy, one big blindspot — tokenbender · 2026-12-06
- Karpathy's LLM Wiki pattern spawns 15 repos with 396K+ stars: let agents maintain your notes — solyarisoftware · 2026-12-06