Re: Cocoa window initially hidden in IB?
Re: Cocoa window initially hidden in IB?
- Subject: Re: Cocoa window initially hidden in IB?
- From: j o a r <email@hidden>
- Date: Thu, 27 Oct 2005 18:00:59 +0200
On 27 okt 2005, at 02.29, a.d. jensen wrote:
I have a window in a document based application that contains a
webview and I would like it to remain hidden until the page has
loaded. I have the show code in my "didFinishLoadForFrame" method,
but I can't figure out for the life of me how to tell IB to not
display the window when it is opened.
In a Carbon NIB, it's a simple selection of the appropriate check
box, so I presume it's something similar here and I just can't find
it.
The problem here is likely not the nib file, but the fact that you're
a document based application. The default implementation is, not
surprisingly, that when you create a new document, it will show the
window.
The best solution is probably to add some sort of progress indicator
to your window, so that it can be opened right away, and updated to
it's final state when the download is complete.
If the user selects new window / document (whatever it's called in
your app), you wouldn't want to defere the actual opening of the
window until your download is complete - that would be irritating to
say the least.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden