SwiftGtk
swift-cross-ui
Our great sponsors
SwiftGtk | swift-cross-ui | |
---|---|---|
6 | 3 | |
313 | 478 | |
- | - | |
3.4 | 8.5 | |
7 days ago | 17 days ago | |
Swift | Swift | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
SwiftGtk
-
Apple overtakes Android to pass 50% share of smartphones used in US; dominates global premium sales
There are bindings out there for WinRT and GTK.
-
Can you create applications for Ubuntu using Swift?
Yep, for imperative UI programming, there’s SwiftGTK which supports GTK 3 & 4 through gobject introspection, and for a more declarative paradigm, Tokamak has a GTK renderer, though it’s not as fully featured as SwiftGTK yet.
-
What do you do in Swift on Ubuntu?
I'm not on Ubuntu, but on Fedora. I'm currently using SwiftGtk To make a Point Of Sale application. I don't own a Mac, and I'm using Swift because I think is a really nice language.
-
Run SwiftUI from command line
If you’re trying to write a GUI app for Linux using Swift you can use SwiftGtk.
-
What’s everyone working on this month? (February 2021)
I'm working on a Point Of Sale app for Linux using SwiftGtk while still learning Swift.
-
Are they still making progress on Swift support in GNUstep, or has it been abandoned as I can only find discussion from years ago? What other options are typical for cross-platform GUI development with Swift, considering that SwiftUI is limited to Apple platforms?
I'm currently using SwiftGtk for developing a Linux app with Swift, and it's working well for me.
swift-cross-ui
-
Writing Gnome Apps with Swift
For another SwiftUI-like wrapper, see also https://github.com/stackotter/swift-cross-ui (used by Adawaita to generate widgets, and mentioned in other comments).
The key premise of this approach is to provide a SwiftUI-like declarative wrapper around Gnome functionality. It's unclear what it adds over swift-cross-ui.
SwiftUI itself has growing pains mainly around being on the right thread for processing/updates and getting data binding right.
Blog entries on swift.org or from Apple tend to be little demos that show the happy path, but when discussing new frameworks (like a Gnome wrapper) or platforms (like the recent embedded), I'd like more demonstration that the authors understand and address key issues and will sustain development. Cross-platform UI frameworks get complicated quickly and have a long tail of issues (cf Flutter, Java/Eclipse, et al) that can be blockers for clients/users. For Swift it doesn't help to have multiple concurrency models and obviously different behaviors on apple platforms and Linux (where UI is not officially tested).
-
Mousetrap.jl: a GUI library for Julia and C++ that fully wrap GTK4
Some interesting stuff happening here [1] and here [2] too.
[1] https://github.com/stackotter/swift-cross-ui/tree/main
- SwiftCrossUI - cross-platform SwiftUI-like UI framework built on SwiftGtk
What are some alternatives?
paper-plane - Chat over Telegram on a modern and elegant client
OpenSwiftUI - WIP — OpenSwiftUI is an OpenSource implementation of Apple's SwiftUI DSL.
awesome-gtk - List of awesome GTK (3/4) applications
Mousetrap.jl - Finally, a GUI Engine made for Julia
SKQueue - Monitor changes to files and directories using kernel event notifications (kqueue) in Swift
CImGui.jl - Julia wrapper for cimgui
PermissionsSwiftUI - A SwiftUI package to beautifully display and handle permissions.
Tokamak - SwiftUI-compatible framework for building browser apps with WebAssembly and native apps for other platforms
DraculaSur-custom-gtk-theme - MacOS Big Sur like theme for Gnome desktops with Dracula colors
OpenCombine - Open source implementation of Apple's Combine framework for processing values over time.
swift-gif - Cross-platform GIF encoder and decoder for Swift