Questions tagged [xamarin.ios-binding]

C# wrapper library around the native iOS Static Library or Framework developed using Swift/Objective-C for Xamarin.iOS.

77 questions
2
votes
2 answers

Scrolldown in ListView using ItemAppearing event skips records in Xamarin.Forms

I have ListView in Xamarin Page. I use ItemAppearing event to scroll down. ListViewCell height is big so 1 screen cover first and 80% part of second viewcell. Steps to load more data for scroll down: Initially when page load, it call API and get 10…
2
votes
1 answer

Xamarin Embedded content contains Swift code

I have created binding library successfully, it is initialized properly in Xamarin.iOS app, but at specific point, the app is crashing. I tried to implement the same on XCode, it is crashing also, but the issue has been fixed by enabling the option…
Moamen Naanou
  • 1,683
  • 1
  • 21
  • 45
2
votes
0 answers

Xamarin iOS binding library with multiple frameworks (native references) not working

I have 1 framework which is dependent on 2 other frameworks. For this, I created one binding library for iOS and included all three frameworks in it. After creating this binding project, I included (added as reference project) it to a native iOS…
iHulk
  • 4,869
  • 2
  • 30
  • 39
2
votes
1 answer

Xamarin.iOS Binding project error at runtime

I received recently an iOS SDK that I'm trying to bind, to use it into my app. I have the .a file, the .h file from which I created the ApiDefinitions.cs class, and everything build. But at runtime, whatever method or property I'm trying to call, I…
Miiite
  • 1,517
  • 10
  • 16
2
votes
1 answer

Referencing Storyboard from Xamarin.iOS Binding Library

In my Xamarin project i need to reference native iOS Framework through Binding Library. Besides native code, this framework provides few storyboards. How can i reference them in my app? Calling standard UIStoryboard.FromName results in not found…
2
votes
1 answer

How can I bind Objective-C++ in Xamarin?

I want to bind an Objective-C++ library in Xamarin. Is this possible? If so, how do I need to declare the namespace those methods are in and what do I put in the Export tags?
vrwim
  • 13,020
  • 13
  • 63
  • 118
2
votes
0 answers

Does Xamarin.ios have better support for static libraries or dynamic frameworks?

I produce an SDK, which is written in a mixture of ObjC and C, and exposes an ObjC API to be used by third party apps. A customer would like to use this SDK in an iOS app that is written using Xamarin. The customer is not really familiar with…
JosephH
  • 37,173
  • 19
  • 130
  • 154
2
votes
0 answers

Xamarin binding project structs in external assembly

I am using Xamarin binding project and objective sharpie, to bind an objective-c library from this SDK: http://redpark.com/lightning-ethernet-plus-power-adapter-cable-l4-netp/ I have already had success in binding and using the similar Seriel…
adv
  • 21
  • 4
2
votes
1 answer

Bind a model object with dynamically created 10 labels in Xamarin forms

I am working on Xamarin forms and faced an issue where I need to bind Model object to dynamically created 10 labels using for loop. I'm able to bind a single label using setBinding like var label = new Label { Text = "", }; …
2
votes
0 answers

Xamarin.ios using DLL library

I have xamarin binding project (represents kind of bridge to native iOS static library) which works fine if added to a solution. What I'm trying to do is to use /bin/libary.dll instead of binding project. I created new xamarin.ios simple view…
Injectios
  • 2,777
  • 1
  • 30
  • 50
2
votes
1 answer

Xamarin.iOS binding with third party framework

I am trying to update a Xamarin.iOS binding which points to code that I manage, and I'm having trouble now that I've replaced an external .a library reference with a .framework. Particularly, when I try to compile my binding, native linking is…
Nathan Taylor
  • 24,423
  • 19
  • 99
  • 156
1
vote
0 answers

Binding native iOS Swift library

I have .NET MAUI app where I want to use 3rd party payment processing library RevenueCat. There are 2 Xamarin bindings already for this lib: android: https://github.com/thisisthekap/Xamarin.RevenueCat.Android iOS:…
Kebechet
  • 1,461
  • 15
  • 31
1
vote
1 answer

Weird 'Native linking failed, undefined Objective-C class' when Xamarin-iOS nuget is generated from Azure Pipeline (but not when it's built locally)

I have Xamarin-iOS binding-project which upon being built generates a nuget. Said nuget works as intended in Xamarin-iOS applications if and only if I built it on my Mac. However, when I build this nuget via Azure Pipelines using MacOS-12 as the…
XDS
  • 3,786
  • 2
  • 36
  • 56
1
vote
1 answer

Xamarin IOS Binding library for WorldPayCSE

I need to make use of the worldPay CSE (Client side encryption) SDK (https://developer.worldpay.com/docs/wpg/clientsideencryption) for IOS and android within xamarin forms so I have created 2 Binding libraries. I have successfully created a wrapper…
LukeW
  • 11
  • 1
1
vote
0 answers

Xamarin iOS binding library (Swift) build error due linker issues

I have Xamarin.iOS project and I'm trying to use Vivalnk sdk (a Swift 5 framework) in it. I'm attempting to walk through this guide: https://learn.microsoft.com/en-us/xamarin/ios/platform/binding-swift/walkthrough Note that I've ignored building…
Yaser Moradi
  • 3,267
  • 3
  • 24
  • 50