Blog
Preview OpenSwiftUI views in VS Code
OpenSwiftUI Preview 0.1.0 brings #Preview and PreviewProvider discovery to VS Code, with native macOS and iOS Simulator previews for Xcode apps and Swift library packages.


An open-source implementation of SwiftUI for learning, debugging, and building across platforms.

Showing the 2048 sample from OpenSwiftUI-Samples
From the project
Blog
OpenSwiftUI Preview 0.1.0 brings #Preview and PreviewProvider discovery to VS Code, with native macOS and iOS Simulator previews for Xcode apps and Swift library packages.
OpenSwiftUI follows SwiftUI’s API and documentation style while making the implementation available to study, test, and improve. The project is in early development and platform coverage varies.
Explore more

Cross-platform sample apps including 2048 and HelloWorld built with OpenSwiftUI.

Run OpenSwiftUI previews from VS Code in a native macOS window or iOS Simulator.

Explore how SwiftUI DisplayList descriptions map to minimalDescription encodings.

Format and visualize nested Swift typealiases and demangled type names.

An Objective-C and Swift runtime viewer for macOS and iOS.