Re: NSView redisplay - what am I missing?
Re: NSView redisplay - what am I missing?
- Subject: Re: NSView redisplay - what am I missing?
- From: Clark Cox <email@hidden>
- Date: Wed, 25 May 2005 16:05:39 -0400
On 5/25/05, Dragan Milić <email@hidden> wrote:
> Well, I'm just doing what I've been doing before, and I'm not calling
> -setNeedsDisplay: from my thread. The separate thread deals with data
> processing. When certain amount of processing is done, an notification
> (let's call it note1) is posted and, window controller is responsible
> to catch it and update user interface (progress bar) in the main
> thread.
How are you posting this notification. Are you using
NSNotificationCenter? If so, then you really *are* trying to update
the UI from your secondary thread.
--
Clark S. Cox III
email@hidden
http://www.livejournal.com/users/clarkcox3/
http://homepage.mac.com/clarkcox3/
_______________________________________________
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