Hello,
Welcome to Microsoft Q&A!
For binding Swift with Xamarin.iOS
, you will need to decorate"@objc" on the Swift methods that they want to bind over to C#. All methods decorated with "@objc" will be compiled into the Objective-C header, which will determine what will be included in the bindings. As this step has not already been done by the library owner, you can use the usage instructions on the Frames GitHub to determine what methods they will need to directly call in C#. Those methods are the ones they will need to add "@objc" to. Source : https://github.com/checkout/frames-ios#usage .
You can refer to the Build a native library section of our walkthrough. Step 9 includes an example of how to decorate methods with "@objc". They can skip any mention of the Gigya.framework, as their project has access to the source Swift files and does not require referencing a framework. If they follow the steps, they should generate a Frames framework and Frames Obj-C header file which they can then use for the rest of the binding process.
Source: https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough#build-a-native-library
For the dependencies on AlamoFire
and PhoneNumberKit
, I see the source GitHubs on those libraries appears to be open source as well. You can likely include the dependencies in their Framework project when generating the Frames framework.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.