Bindings for the Argon UI library.
This binding works by wrapping the view objects in classes and making sure their reference counts represent the references in C.
To use the library, add the dependency to your Package's dependencies:
.package(url: "https://github.com/Jomy10/ArgonSwift", branch: "master"),
Add this to your target's dependencies:
.product(name: "Argon", package: "ArgonSwift"),
Unfortunately, to compile your project with SPM, you will need to add the flags -Xcc -Ipath/to/olive.c
steps:
- Clone the olive.c repo:
git clone https://github.com/tsoding/olive.c
- Add the flags when building or running your project:
swift build -Xcc -Iolive.c
ARGON_TEST=1 swift test
git clone --recurse-submodules https://github.com/Jomy10/ArgonSwift
Same as original; GPLv3