[Mono-osx] Could not connect the action to target of class MainWindowController

jmain themains2 at gmail.com
Fri Jan 25 21:31:55 UTC 2013


I am having an issue.  If I create a new project and add 1 botton to
interface builder and create an IBAction it works fine.  I can create a
buttonclick handler to do stuff.  If I add more IBactions for other buttons
and controls I get the error Could not connect the action testbuttonpress:
to target of class MainWindowController.

In my MainWindowController.h I have - (IBAction)testbuttonpress:(id)sender;
and .m file - (IBAction)testbuttonpress:(id)sender {
}

These were generated by control dragging the Button to the right.

hte MainWindow.designer.cs file has:

[Action ("testbuttonpress:")]
		partial void testbuttonpress (MonoMac.Foundation.NSObject sender);

I am using monodevelop 3.1.1



--
View this message in context: http://mono.1490590.n4.nabble.com/Could-not-connect-the-action-to-target-of-class-MainWindowController-tp4658292.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list