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

Expose Biometrics class through Swift for Swift Package Manager #118

Open
KaneCheshire opened this issue Jul 31, 2020 · 1 comment
Open

Comments

@KaneCheshire
Copy link
Contributor

Currently, if you're using TABTestKit with Swift Package Manager, to use the Biometrics class functions directly you need to import Biometrics in the file, because of the way the package has to be split up into targets for SPM support.

I think we can improve this, by creating a wrapper class in the Swift target that exposes the ObjC code. If we keep the name and function signatures exactly the same, it shouldn't be a breaking change for anyone. Would be super great if we could completely hide the ObjC code, which is slightly more complicated so you might need to tap up someone a bit more seasoned with C headers if you pick this up and not sure what to do.

@KaneCheshire
Copy link
Contributor Author

KaneCheshire commented Jul 31, 2020

Remember to update the README when this is done, since it references this issue directly in more than one place :)

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

1 participant