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
0
votes
0 answers

Can't get .Net Embedding's objcgen.exe to convert my Visual Studio 2019 Xamarin.IOS project on Windows for my Xcode project on MacOS

I create a hello world Xamarin.ios class library project. I add Nuget Embeddinator 4000. I build it on Visual Studio 2019 on Windows 10. But when I run objcgen.exe to do the Embeddinator conversion, I get the error…
Doug Null
  • 7,989
  • 15
  • 69
  • 148
0
votes
0 answers

It is possible use a *.dll generated from a Swift Binding project?

I was given a new library *.framework in Swift 5 from an external client and I'm trying to integrate this lib in our Xamarin.iOS project; I made it creating a new binding project and following the MS documentation steps, but I was wondering if it…
requenaxii
  • 131
  • 1
  • 12
0
votes
1 answer

How can I use Google's people API in Xamarin.iOS?

I have to access Google contacts in our Xamarin. ios app so, We have generated Google's people API key and client id in Google developer portal But I don’t know how to consume API in Xamarin.ios app. We need to get Google contact details using…
0
votes
1 answer

Sharpie binding error : Unsupported clang availability platform: 'macCatalyst'

I'm trying to bind a framework into my Xamarin iOS project using this command: sharpie bind -output FrameworkName -namespace FrameworkName -sdk iphoneos13.2 -scope Headers FrameworkName.framework/Headers/HeaderFile.h -c IHeaders -arch arm64 I got…
hanaa
  • 385
  • 6
  • 30
0
votes
0 answers

Xamarin iOS Binding conversion of method at runtime

I got stuck in an issue when I was writing Xamarin Binding Library. Prerequisites I have iOS Native Framework. I have a Xamarin Forms Application. I have to write Xamarin Binding Library, which I am successfully able to write. Now I got stuck iOS…
0
votes
1 answer

How combine multiple visibility properties binding (fluent) in MvvmCross for iOS?

i want to combine these 2 properties: set.Bind(myObject).For("Visibility").To(vm => vm.property1).WithConversion("Visibility"); set.Bind(myObject).For("Visibility").To(vm => vm.property2).WithConversion("Visibility"); I read something like this for…
El0din
  • 3,208
  • 3
  • 20
  • 31
0
votes
0 answers

Create an object from Abstract type class in Xamarin.iOS

In my Xamarin.iOS binding project, I have a generated class called LSMAUsecase.g.cs. following is the content of that class. namespace SightCallBinding { [Protocol (Name = "LSMAUsecase", WrapperType = typeof (LSMAUsecaseWrapper))] [ProtocolMember…
Randi
  • 639
  • 2
  • 6
  • 23
0
votes
0 answers

Cannot refer the binding project in Xamarin.iOS project

I have created a Xamarin.iOS binding project. My binding project compiles successfully. Then I added Xamarin.iOS project. Structure is like this. Then I created a class and tried to import my binding project like this. But then I get the following…
Randi
  • 639
  • 2
  • 6
  • 23
0
votes
0 answers

Getting non-generic type while creating xamarin native bindings

I'm trying to create C# Bindings for Native iOS Library, and i've used objective sharpie as a tool to do it, but i'm stuck at one place where it has converted @property (nonatomic, weak) id
Sam
  • 67
  • 8
0
votes
1 answer

Mvvcross WithFallback on xamarin ios

i'm using MvvmCross on xamarin iOS. I'm using fluent for the bindings on the ViewModel and json. I wanted to try the WithFallback() function, but when the property on my ViewModel (string in this case), comes null or empty, it doesn't do anything. I…
El0din
  • 3,208
  • 3
  • 20
  • 31
0
votes
1 answer

Framework doesn't detect card reader

I have created binding library to bind a Framework supposed to read smart card data (it is working properly on XCode), but in Xamarin.iOS app, the card reader is never been detected. I'm using Tactivo card reader. Note: I tried all possible…
Moamen Naanou
  • 1,683
  • 1
  • 21
  • 45
0
votes
1 answer

After binding using Objective Sharpie Protocol Methods are not getting invoked in xamarin.iOS

I have few issues with Binding using Objective sharpie.I am binding IndoorAtlas iOS native sdk with Xamarin.ios. Issue is while Implementing Protocols methods as those are not getting invoked. Do we need to handle it in special way? I am attaching…
0
votes
1 answer

xamarin - propagate the change of a bindable property to the ios renderer

I created a custom control as extension of EntryCell with a bindable property. I implemented the renderer on ios by extending EntryCellRenderer. I would like to Change a property of my renderer when the bindable property changes. EntryCellRenderer…
platon4
  • 1
  • 1
0
votes
1 answer

Xamarin binding Events WeakDelegate issue

I have following iOS code: @protocol TestDelegate - (void)onSuccess:(NSString*)token; @end @interface Utility : NSObject @property (nullable, weak, getter = getTestDelegate, setter = setTestDelegate:) id delegate; @end and…
0
votes
2 answers

Native linking error: framework not found for architecture arm64

I'm binding a Xcode Project like this: Then, I created a static library contains code in DevQPSDKCore directory and reference QPSDKCore.framework, produces library libQupaiSDK.a Finally, created a new Xamarin binding…
Lei Kan
  • 487
  • 7
  • 20