目录
目录README.md

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:

![Ubuntu Screenshot](https://www.gitlink.org.cn/api/dnrops/swift-x11-example/raw/screenshot.png?raw=true “Ubuntu Screenshot”&ref=master)

关于
1.4 MB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号