Hi Nic,
Thanks for your reply. The interface definition is as follows:
*@interface GDExtended : NSObject <UIApplicationDelegate,GDiOSDelegate>
- (void) handleEvent:(GDAppEvent *)anEvent;
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;
@end*
*@implementation GDExtended
- (id)init
{
self = [super init];
if (self) {
// Initialization code here.
}
return self;
}
- (void) handleEvent:(GDAppEvent *)anEvent
{
}
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
return YES;
}
@end
*
I am trying to wrap this in c# knowing that c# does not allow multiple
implementation. I wrote the wrapper for this interface in c# (I need the
GDiOSDelegate in order to create the event handler method which should
communicate with components from UIApplicationDelegate class).
The problem is that when I inherit GDExtended in a sample monotouch
application that uses the created Dll, I get an error that my class does not
implement UIApplicationDelegate.
Your prompt attention to this message is highly appreciated.
Thanks,
Thabet
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Binding-an-interface-that-conforms-to-multiple-protocols-tp4655661p4655901.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch