-
Notifications
You must be signed in to change notification settings - Fork 292
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
Added BTClientMetadata to public headers in order to make Braintree work with swift #84
Conversation
Thanks for the PR. Do you have any insight as to why only this private header is needed for swift support but no others? Is there any other way to add compatibility without marking this file as part of the public API? |
@mickeyreiss a) Make |
Interesting. I don't see The Are interface extensions treated as "public" by the swift compiler even if they are not located in (or imported into) a public header? Edit: |
@mickeyreiss |
@Reflejo Ahh - that explains it. I believe that is a mistake, and I think the best solution would be to move |
I'm working on another PR to make that change right now. |
Closed in favor of #85 |
Thanks for helping us iron this one out, @Reflejo! |
…d-of-file Add a new-line at the end of every file to support merchant integrations with GCC_WARN_ABOUT_MISSING_NEWLINE
This small change makes Braintree compatible with swift and the new cocoapods' framework support.