Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support APIs for the Swift language #18

Open
iyangsj opened this issue Nov 1, 2023 · 1 comment
Open

Support APIs for the Swift language #18

iyangsj opened this issue Nov 1, 2023 · 1 comment

Comments

@iyangsj
Copy link
Collaborator

iyangsj commented Nov 1, 2023

Reference:
https://mozilla.github.io/uniffi-rs/

@iyangsj iyangsj changed the title Support APIs for the swift language Support APIs for the Swift language Nov 1, 2023
@delneg
Copy link

delneg commented Nov 27, 2023

Hi!
I've taken a look and noticed, that there are already headers in "include" directory which can be used from C easily.

In case of Swift, it may be easier to create an .xcframework which will contain: the binary itself, the .h file, and the Swift bindings which can be hand-written to have "Swifter" user-facing API.
Then, it can be consumed by users via Cocoapods or SwiftPM and provide smooth UX.

(That's an alternative to UniFFI approach, which has it's pros and cons)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants