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 directly in Xcode

OpenSwiftUI 0.21.0 adds an OpenSwiftUI-aware #Preview macro, removing the hosting-controller wrapper from the everyday preview workflow on supported Apple platforms.

  • 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

DisplayList Explorer

Explore how SwiftUI DisplayList descriptions map to minimalDescription encodings.

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.