https://github.com/terhechte/swift-x11-example
A simple example that shows how to write a X11 app on Linux in Swift using the new package manager
https://github.com/terhechte/swift-x11-example
Last synced: about 2 months ago
JSON representation
A simple example that shows how to write a X11 app on Linux in Swift using the new package manager
- Host: GitHub
- URL: https://github.com/terhechte/swift-x11-example
- Owner: terhechte
- License: apache-2.0
- Created: 2015-12-08T14:42:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T05:41:59.000Z (over 7 years ago)
- Last Synced: 2024-03-14T18:35:13.099Z (about 1 year ago)
- Language: Swift
- Size: 1.36 MB
- Stars: 12
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# x11-example
A simple example that shows how to write a X11 app on Linux in Swift
## Requirements
- Swift needs to be installed on your Linux system.
## Running
To use this, simply check out the repo (preferrably on Linux) and do the following in the folder:
`swift build`
This will clone the X11 package and build the binary
Run it via:
`.build/debug/x11-example`
This will execute the binary, and a small X11 Window should appear on your desktop:
