OpenSwiftUI

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

From the project

Latest updates

Follow via RSS

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.

  • OS: AppleOS

Built in the open.

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

Resources

Tools

OpenSwiftUI Preview for VS Code

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

DisplayList Explorer

Explore how SwiftUI DisplayList descriptions map to minimalDescription encodings.

TypeAlias Formatter

Format and visualize nested Swift typealiases and demangled type names.

RuntimeViewer

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

Other Open Source Swift DSL Frameworks

SwiftCrossUI

Native cross-platform UI in Swift, without the fuss.

Shaft

A cross-platform UI framework bringing Flutter-inspired design to Swift.