• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSView redisplay - what am I missing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSView redisplay - what am I missing?
      • From: Dragan Milić <email@hidden>
References: 
 >NSView redisplay - what am I missing? (From: Dragan Milić <email@hidden>)
 >Re: NSView redisplay - what am I missing? (From: Bob Ippolito <email@hidden>)
 >Re: NSView redisplay - what am I missing? (From: Dragan Milić <email@hidden>)

  • Prev by Date: Re: Managed Objects and Unorthodox Objects
  • Next by Date: Re: subclasses of NSPersistentDocument and NSManagedObjectContext, and undo
  • Previous by thread: Re: NSView redisplay - what am I missing?
  • Next by thread: Re: NSView redisplay - what am I missing?
  • Index(es):
    • Date
    • Thread