On Fri, Jul 13, 2012 at 4:39 PM, tkacem <[email protected]> wrote:
> when I create the Dll by:
>
> */Developer/MonoTouch/usr/bin/btouch -e GDBinding.cs AssemblyInfo.cs
> -s:StructsAndEnums.cs -x:Extra.cs*
>
are you no longer using --link-with?
>
> 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"*
>
This is only necessary if you are not embedding the native library into the
binding dll.
>
> But then it brings me back the exception saying the AppDelegate does not
> implement UIApplicationDelegate
>
is it a c# exception or an objc exception? can you paste it?
>
> 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.
Jeff
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch