Re: "could not connect action to target"
Re: "could not connect action to target"
- Subject: Re: "could not connect action to target"
- From: Sherm Pendley <email@hidden>
- Date: Mon, 23 Jun 2003 04:32:06 -0400
On Monday, June 23, 2003, at 03:50 AM, Cyprien wrote:
I got this message at launch time (it compiles perfectly) :
"2003-06-23 09:39:14.338 ExoChap4[615] Could not connect the action
askForResult: to target of class NSApplication"
My askForResult method is declared in a .h and implemented in a .m
I think that the connections were correctly set in IB (there is only 2
textField and a Button whose target is askForResult), so I don't have
anymore idea.
Read the message closely - it's looking for the method askForResult: in
the class NSApplication. That means the connection in IB is connected to
an instance of that class. If this is the main (or only) NIB in your
app, then the connection is to the "File's Owner." You probably intended
it to be connected to either the "First Responder" or to an instance of
a window controller.
sherm--
"But i don't want to go among mad people," Alice remarked.
"Oh, you can't help that," said the Cat: "we're all mad here. I'm mad,
You're mad."
"How do you know I'm mad?" said Alice.
"You must be," said the Cat, "or you wouldn't have come here."
"Alice in Wonderland" - Lewis Carrol
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.