[Mono-osx] how override an Objective C method?

Eric Slosser eric.slosser at v-fx.com
Wed Oct 27 11:04:15 EDT 2010

I have a C# class which is subclassed from MonoMac.AppKit.NSWindowController.

I want to override +(bool)[NSObject respondsToSelector:sel].

My best guess is this, but the app crashes inside the call to the base method.

	public override bool RespondsToSelector (Selector sel)
		bool result = base.RespondsToSelector(sel);
		return result;

More information about the Mono-osx mailing list