Currently working on two #gnome apps!

- Scripter: A simple app for basic scripts ⌨️ & calculations 📐 [GitHub: https://github.com/david-swift/Scripter]
- Flashcards: Create, edit, and study flashcard sets 🎓 - easily import your existing Quizlet sets [GitHub: https://github.com/david-swift/Flashcards]

Both are written in #swift using an interface similar to #swiftui for #gtk and #libadwaita [GitHub: https://github.com/AparokshaUI/Adwaita]

GitHub - david-swift/Scripter: A very simple GNOME app for very simple Python scripts

A very simple GNOME app for very simple Python scripts - GitHub - david-swift/Scripter: A very simple GNOME app for very simple Python scripts

GitHub
@david_swift Your SwiftUI inspired Adwaita library is really cool btw! :) Tried it out two weeks ago or so and worked quite well for some basic stuff I tried.
@david_swift what currently holds me off from using Swift on linux though, is the kinda rough experience when dealing with networking and generally non-apple-platform-related stuff. Even doing basic http-requests are not a trivial undertaking last time I tried.
@nylki Thanks! Doesn't URLSession from the Foundation framework work on Linux the same way as on Apple platforms?

@david_swift I thought so as well!

But in my experiments I was only able to fetch http endpoints, but no https ones.
(On Fedora, could be a packaging/configuration issue with certificates maybe?).

Also you have to conditionally imort `FoundationNetworking` on Linux.

@nylki I experimented a bit with networking recently. SwiftNIO seems to be the way to do cross-platform networking in Swift.

https://github.com/apple/swift-nio

There are some libraries providing an easier-to-use interface for certain tasks, such as:

- https://github.com/swift-server/async-http-client
- https://github.com/vapor/websocket-kit

GitHub - apple/swift-nio: Event-driven network application framework for high performance protocol servers & clients, non-blocking.

Event-driven network application framework for high performance protocol servers & clients, non-blocking. - apple/swift-nio

GitHub
@david_swift thanks! I might give it a try next WE or so.