when I create the Dll by:

*/Developer/MonoTouch/usr/bin/btouch -e GDBinding.cs AssemblyInfo.cs
-s:StructsAndEnums.cs -x:Extra.cs*

then when I reference it in the sample project, I add these options to
mtouch extra arguments:

*cxx -gcc_flags "-L${ProjectDir} -lGD -force_load ${ProjectDir}/libGD.a"*

But then it brings me back the exception saying the AppDelegate does not
implement UIApplicationDelegate

Just to remind you, I solved that the multiple protocol issue by having the
GDiOS kind of implement UIApplicationDelegate in the binding

       * [BaseType (typeof (UIApplicationDelegate))]
        [Model]
        interface GDiOSDelegate {
                [Abstract]
                [Export ("handleEvent:")]
                void HandleEvent (GDAppEvent anEvent);

        }*

Thank you very much for your help.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Binding-an-interface-that-conforms-to-multiple-protocols-tp4655661p4655971.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to