Open haavamoa opened 8 months ago
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).
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.
@rolfbjarne It seems Apple is going on Swift, putting Objective-C on a lower level.. Isn't it? Tipkit is one of the latest new system that we cannot use due to the lack of Objective-C language bindings... What future do you see?
@rolfbjarne It seems Apple is going on Swift, putting Objective-C on a lower level.. Isn't it? Tipkit is one of the latest new system that we cannot use due to the lack of Objective-C language bindings... What future do you see?
Work is ongoing in .NET to support calling Swift from managed code: https://github.com/dotnet/runtime/issues/93631
Hello and thank you for this amazing bridge between Apple and Microsoft. I am wondering when TipKit will be available for us to consume.
Expected Behavior
TipKit to be available for development
Actual Behavior
No TipKit is available for development
Environment
.NET8.0-ios17.2