c# - How to bind the Delegate used in the Objective c class in Xamarin? -
hi new binding objective-c c#. used objective sharpie c# binding. generated apidefinitions.cs file more error on generated file.
error: error cs0527: type `monotouch.uikit.uitableviewdelegate' in interface list not interface (cs0527) (iosbinding) line cause error
c# code
[basetype (typeof (uitableview))] public partial interfacea interfacename : uitableviewdatasource, uitableviewdelegate{ } objective c
@interface interfacea:uitableview<uitableviewdatasource, uitableviewdelegate>{ } how can bind uitableviewdatasource, uitableviewdelegate in c#?
you not need list protocols implements, binding work without them.
side note: due way protocols work, wont able claim class implements protocol classic api. said, upcoming unified api solves problem, , allow this.
Comments
Post a Comment