Basic Window Management
Basic Window Management
- Subject: Basic Window Management
- From: "Andrew Zahra" <email@hidden>
- Date: Sun, 24 Aug 2008 08:58:33 +1000
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?
Secondly, since this is a log window I want to write log info whenever I
have some. I also get a crash if I attempt to write to the textView when the
window has been closed. Can I keep the window alive, even if not on screen,
so I can continue to write to the textView?
thanks,
Andrew
_______________________________________________
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