Re: No MainNibFile causes buttonPressed error message
Re: No MainNibFile causes buttonPressed error message
- Subject: Re: No MainNibFile causes buttonPressed error message
- From: Jeremy Dronfield <email@hidden>
- Date: Sat, 6 Jul 2002 10:56:08 +0100
On Saturday, July 6, 2002, at 01:06 am, Lisa Zorn wrote:
The only issue is that at launch, the following line _always_ prints to
the console 3 times:
Could not connect the action buttonPressed: to target of class
NSApplication
Not a big issue, but kind of annoying since users see it and thing
something is going wrong. I don't _think_ anything is going wrong, but
I'm not sure what this is referring to.
Do you have any duplicated action names?
I had a similar problem to this. My app delegate, in its -init:
instantiates a subclass in a separate nib. This subclass had an IBAction
with an identical name to one in the app delegate. I got the "could not
connect action ... to target of class" warning. In my case it did cause
a problem, because the action wouldn't execute. I renamed the IBAction,
and the problem went away.
_______________________________________________
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.