Re: NSTextField update and multithreaded app
Re: NSTextField update and multithreaded app
- Subject: Re: NSTextField update and multithreaded app
- From: Brendan Younger <email@hidden>
- Date: Thu, 9 Aug 2001 13:24:20 -0500
On Thursday, August 9, 2001, at 07:43 AM, Christian Mike wrote:
I cannot say that you have actually run into any sort of problem. If
you don't see the "Initializing..." string, that means that your
secondary thread has finished before the window made it to the screen.
Nothing wrong with that at all.
Maybe I didn't clarify this well. By NSLog's, I see that the
"Initializing"
message gets sent, then later I see that the "Ready" message is sent.
The
problem is that once the app is up and really ready for the user's first
mouse-click, keystroke, etc., the NSTextField still says
"Initializing". If
I hide the app and then restore it, which forces a redraw on all
windows,
the NSTextField now says "Ready".
I would have expected the "Ready" message to be there already since it
was
sent second. But it does not show up until something forces a redraw on
that
window.
Thanks.
Michael Christian
Thomson multimedia Inc.
Then call -setNeedsDisplay:YES or simply -display on the text view.
Brendan Younger