Swift Cross Ui Versions Save

A cross-platform declarative UI framework, inspired by SwiftUI.

v0.1.0

7 months ago

After the recent addition of support for multiple backends, and the maturing of the original Gtk backend, it's time for SwiftCrossUI to start getting official releases! This will aid in both guiding development, and improving stability.

What's still missing

Here are the main missing features when compared to SwiftUI

  • Most view modifiers (e.g. offset, background, overlay, scale, etc)
  • Animation
  • Multiple window support
  • Gestures
  • Menu items
  • Keyboard shortcuts
  • I've probably forgotten a few...

So what's up with all of the backends

After refactoring SwiftCrossUI to support multiple backends, I implemented a multitude of experimental backends (most only implementing enough to support HStack, VStack, Button, and Text). As SwiftCrossUI approaches a stable release, we'll have to make some tough decisions on which ones to officially support, but my hope is that by having lots of backends for a variety of usecases (including CLIs!) SwiftCrossUI will gain more support from a variety of areas and the community can be the deciders of which are the most useful.

Current backends

  • GtkBackend (the main backend; the most complete)
  • QtBackend (an alternative to Gtk with mobile support)
  • LVGLBackend (for embedded devices)
  • CursesBackend (for CLIs)
  • AppKitBackend (for native macOS apps)