• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Responder chain messed up after window close...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Responder chain messed up after window close...
      • From: Jim Correia <email@hidden>
  • Prev by Date: Re: CoverFlow on 10.4
  • Next by Date: Re: Responder chain messed up after window close...
  • Previous by thread: Re: Strange _originalSnapshot error
  • Next by thread: Re: Responder chain messed up after window close...
  • Index(es):
    • Date
    • Thread