Re: Quartz/TLayer mod to create window via action fails "Could not connect the action"
Re: Quartz/TLayer mod to create window via action fails "Could not connect the action"
- Subject: Re: Quartz/TLayer mod to create window via action fails "Could not connect the action"
- From: Kurt Bigler <email@hidden>
- Date: Tue, 08 Nov 2005 01:26:44 -0800
Solved but still questions...
on 11/7/05 12:46 AM, Kurt Bigler <email@hidden> wrote:
[snip]
> IB let me make the connection from the "New" menu item to the
> showTLayerDemoWindow action in the AppDelegate instance in MainMenu.nib. But
> at run time I get the error:
>
>> 2005-11-07 00:09:06.530 TLayer[4612] Could not connect the action
>> showShadowDemoWindow: to target of class AppDelegate
I solved this by having IB re-parse AppDelegate.h. I don't yet know enough
to understand why this was necessary since I had not changed AppDelegate.h.
I cloned the sample app, built it, and then added this connection in IB,
saved the nib, and built the app again, and got the error above.
When I did the rescan I got the warning that connections were lost, and I
had to re-establish the action/target for this, and after that it worked.
Any reflections or clarifications would be appreciated. Thanks.
-Kurt Bigler
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden