SwiftCrossUI implements a simple API similar but not identical to SwiftUI, allowing you to use the basic concepts of SwiftUI to create a cross-platform desktop app. SwiftCrossUI is designed to be flexible and can work with different backends, but has a focus on using GTK+ through SwiftGTK. Create cross-platform desktop apps for macOS, Linux and Windows. Work has been started to support multiple different backends. Switching backends only requires changing a single line of code! Currently there's the Gtk 4 backend, as well as an experimental AppKit backend (AppKitBackend, macOS-only). All examples use GtkBackend for maximum compatibility, but you can update them manually to try out the various available backends. Work is being done to allow the backend used by the examples to be changed from the command line.

Features

  • Documentation available
  • Examples available
  • Running examples on other backends
  • Install Gtk 4 and Clang
  • The wide variety of views available that you can combine to create complex UIs
  • Objects that are read from and/or written to as part of your app

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Swift Cross UI

Swift Cross UI Web Site

Other Useful Business Software
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Swift Cross UI!

Additional Project Details

Programming Language

Swift

Related Categories

Swift Frameworks, Swift User Interface (UI) Software

Registered

2024-09-13