Here we have both a high level and low level wrapper.
AlpacaCoreSwift
A high level wrapper. It's interface should feel as idiomatic Swift. Dict
is passed as Dictionary
.
It's implemented via...
CxxAlpacaCore
A low-level wrapper which exposes more C++ internals in the pseudo-structure AC
.
Dict
is accessible as AC.DictRoot
and AC.DictRef
in a manner similar to the C API.
Only macOS is currently officially supported. We do run builds on other operating systems, but official support for them is not currently a priority.
$ xcode-select --install
can work.Here's the recommended way to setup a development environment for building this project:
First, cover the basic setup from ac-local Development environment doc
Aditionally:
$ pamac build swift-bin
-DCMAKE_CXX_COMPILER=/usr/lib/swift/bin/clang++ -DCMAKE_C_COMPILER=/usr/lib/swift/bin/clang