Re: Cocoa-dev Digest, Vol 5, Issue 335
Re: Cocoa-dev Digest, Vol 5, Issue 335
- Subject: Re: Cocoa-dev Digest, Vol 5, Issue 335
- From: Quincey Morris <email@hidden>
- Date: Fri, 7 Mar 2008 20:24:56 -0800
On Mar 7, 2008, at 19:59, Daniel Child wrote:
OK, thanks. But then in Cocoa you normally use alloc and init
together, and that's where the problem is, I think.
initWithWindowNibName seems to result in the window being shown
automatically.
I am instantiating the window controller, and am trying to figure
out at which point I could gain access to its window's memory
without showing the window.
Initializing the window controller doesn't itself cause the window to
be shown. Something else is going on. Either the window is set
"visible at launch" in the nib file, or something is explicitly
causing the window to be shown.
If you're lucky, setting a breakpoint in the window controller's
showWindow method will tell you when this is happening.
_______________________________________________
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