Responder chain messed up after window close...
Responder chain messed up after window close...
- Subject: Responder chain messed up after window close...
- From: Thomas Engelmeier <email@hidden>
- Date: Sat, 18 Aug 2007 17:35:25 +0200
Hi,
I added an splash screen (_startupWindow) to my application.
In awakeFromNib: it's controller calls
[NSApp beginModalSessionForWindow:_startupWindow];
and when an dismiss button is pressed,
[NSApp stopModal];
[_startupWindow orderOut:self];
[_startupWindow close]; // causes - an intended - an release of
_startupWindow
If I select any menu, the menu handler accesses the released window
instance (as of NSZombieEnabled, and commenting out [_startupWindow
close]).
What step to remove the window from the responder chain am I missing?
TIA,
Tom_E
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden