Skip to content

Files

Latest commit

fce64b1 · Jul 18, 2024

History

History

calculator-swift

calculator-swift

This project builds a Swift package that provides Swift language bindings for the [calculator] library. The Swift language bindings are created by the [calculator-ffi] project which is included as a module of this repository.

How to Use

To use the Swift language bindings for [calculator] in your Xcode iOS or MacOS project, add the github repository (https://github.com/uniffi-bindings-template/Calculator) and select one of the release versions. You may then import and use the Calculator library in your Swift code. For example:

import Calculator

...

How to test

swift test