Hi everyone I'm trying to parse a library that connects via bluetooth to some printers and I facing an issue with the "return" of the method that open the connection and would like to know if someone can point me to the right direction:
The objective C method is the follow
On the Binding generated by Objective Sharpie I get the follow
// +(void)openPrinter:(NSString *)printerName completion:(DzDidOpenedPrinterBlock)completion; [Static] [Export ("openPrinter:completion:")] void OpenPrinter (string printerName, DzDidOpenedPrinterBlock completion);
I'm able to search for printers, but that method is returning the following error
[__NSArrayI objectOnIndex:]: unrecognized selector sent to instance 0x2828c1740 Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[__NSArrayI objectOnIndex:]: unrecognized selector sent to instance 0x2828c1740
Any tips where I'm missing something here guys?