Swiftpack.co - thunderbiscuit/calculator-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by thunderbiscuit.
thunderbiscuit/calculator-swift 0.1.0
Test release repo for uniffi-bindings-template example swift bindings
⭐️ 0
🕓 1 week ago
iOS macOS
.package(url: "https://github.com/thunderbiscuit/calculator-swift.git", from: "0.1.0")


This project is only used to publish a Swift package manager package called calculator-swift with language bindings for the example Calculator framework created by the uniffi-bindings-template project. The Swift language bindings are created by the uniffi-bindings-template calculator-ffi sub-project which are copied into and committed to this repo by the uniffi-bindings-template publish-spm github actions workflow.

Any changes to the calculator-swift Swift package must be made via the uniffi-bindings-template repo.

How to Use

To use the Swift language bindings for Calculator in your Xcode iOS or MacOS project:

  1. Add the "calculator-swift" package from the repo https://github.com/thunderbiscuit/calculator-swift and select one of the latest minor versions.
  2. Add the Calculator framework in your Target config.
  3. Import and use the Calculator library in your Swift code. For example:
    import Calculator


Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Release 0.1.0
1 week ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics