Skip to content

Swift Notificare iOS SDK  #2743

@kusc-leica

Description

@kusc-leica

Hey there.

We are currently struggling a bit with the support of Swift in MAUI. We have a library which doesn't expose a ObjectiveC interface but we are in dire need of a binding library for a 3rd party product. After failing to use other tools I stumbled over the feature/swift-bindings branch in this repository and it kind-a looks promising.

As Microsoft has not really published yet any details on Swift interopability support but there seem to be a lot ongoing in development:

I understand the "experimental" nature of the ongoing development but still would have following questions and inputs:

  1. It seems the binding generator currently expects a dylib to be sitting beside the .abi.json, in the Cocoapod we wanna use, there is no dylib in the package. (Notificare, Cocoapod). I wonder if this is currently just a simplification or there is a design problem there. I saw that the dylib is only needed in some special scenario but still it is required to exist.
  2. Despite net9.0 being close, there still seem to be items shifted to net10.0. This raises the question to me: Assuming I manage to get some reasonable bindings generated, should the output already work in net8.0? If yes, I could maybe also just fix and adjust manually the bindings to the expected code structure. Unfortunately there are on guides on how you could do manually what the generator is trying to do.

Any help is highly appreciated so we could create some wrapper for the iOS library we need.

Metadata

Metadata

Assignees

Labels

User StoryA single user-facing feature. Can be grouped under an epic.area-SwiftBindingsSwift bindings for .NET

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions