Re: Basic Window Management
Re: Basic Window Management
- Subject: Re: Basic Window Management
- From: Charles Steinman <email@hidden>
- Date: Sat, 23 Aug 2008 16:10:19 -0700 (PDT)
--- On Sat, 8/23/08, Andrew Zahra <email@hidden> wrote:
> I am trying to add a log window to an otherwise single
> window application
> and have come across a couple of basic window management
> issues.
> Firstly, if the log window is closed by clicking the close
> button and then I
> subsequently call makeKeyAndOrderFront then I get a crash.
> I presume there
> is a window life cycle issue here I don't understand.
> How do I correctly
> bring back a closed window?
The window is being released. Uncheck "Release when closed" in Interface Builder if you want it to stick around.
Cheers,
Chuck
_______________________________________________
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