This project is only used to publish a Swift package manager package called bbqr-swift
with language bindings and corresponding Bbqr.xcframework for
Bbqr
created by the bbqr-ffi project.
The Swift language bindings files are created by the bbqr-ffi ./bbqr-ffi
sub-project which are copied into, committed and tagged in this bbqr-swift
repo by the publish-spm
github actions workflow.
Any changes to the bbqr-swift
Swift package must be made via the bbqr-ffi repo.
To use the Swift language bindings for Bbqr
in your Xcode iOS or MacOS project:
-
Add the "bbqr-swift" package from the repo https://github.com/bitcoinppl/bbqr-swift and select one of the latest minor versions.
-
Add the
Bbqr
framework in your Target config. -
Import and use the
Bbqr
library in your Swift code. For example:import Bbqr ...
See example app at: example app