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

TipKit is not available #20273

Open
haavamoa opened this issue Mar 7, 2024 · 2 comments
Open

TipKit is not available #20273

haavamoa opened this issue Mar 7, 2024 · 2 comments
Labels
missing-api-bindings requires-swift An issue that requires swift support to fix
Milestone

Comments

@haavamoa
Copy link

haavamoa commented Mar 7, 2024

Hello and thank you for this amazing bridge between Apple and Microsoft. I am wondering when TipKit will be available for us to consume.

Sorry if this issue is a bit slim, but there's not much to add here.

Expected Behavior

TipKit to be available for development

Actual Behavior

No TipKit is available for development

Environment

.NET8.0-ios17.2

@rolfbjarne rolfbjarne added requires-swift An issue that requires swift support to fix missing-api-bindings labels Mar 8, 2024
@rolfbjarne rolfbjarne added this to the Future milestone Mar 8, 2024
@rolfbjarne
Copy link
Member

It seems TipKit is only available using Swift, and not Objective-C, which means we're unfortunately not able to create bindings at this moment.

As of today, the only way to use a swift library is via a proxy library, the general idea is described here learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift basically you would need to expose the TipKit Apis you need via a Swift glue layer that exposes the method via the swift bridge header and then creating a C# binding project for this.

The plan is for us to eventually provide these bindings, but Swift support it's a lot of work, so we're not sure when that might be (it's in progress though at the moment).

@haavamoa
Copy link
Author

haavamoa commented Mar 8, 2024

Thanks for the clarification @rolfbjarne ! :) I will have a look into binding swift in the future to see if I can manage to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing-api-bindings requires-swift An issue that requires swift support to fix
Projects
None yet
Development

No branches or pull requests

2 participants