• 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: Leopard broke my progress indicators
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard broke my progress indicators


  • Subject: Re: Leopard broke my progress indicators
  • From: Nick Zitzmann <email@hidden>
  • Date: Sun, 16 Dec 2007 12:07:01 -0700


On Dec 16, 2007, at 11:04 AM, David Burnett wrote:

It's like this so the re-drawing of the progress indicator is done on the main thread as it should be.


But you don't need to set the double value on the main thread; that part of NSProgressIndicator is thread-safe or else its threaded drawing feature wouldn't work. According to the documentation[1] you should, however, call the display methods on the main thread.

Nick Zitzmann
<http://www.chronosnet.com/>

[1] <http://developer.apple.com/documentation/Cocoa/Conceptual/Multithreading/articles/CocoaSafety.html >


_______________________________________________

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


  • Follow-Ups:
    • Re: Leopard broke my progress indicators
      • From: j o a r <email@hidden>
    • Re: Leopard broke my progress indicators
      • From: Chris Williams <email@hidden>
References: 
 >Leopard broke my progress indicators (From: David Burnett <email@hidden>)
 >Re: Leopard broke my progress indicators (From: Nick Zitzmann <email@hidden>)
 >Re: Leopard broke my progress indicators (From: David Burnett <email@hidden>)

  • Prev by Date: Is NSSpeechSynthesizer multithreaded safe
  • Next by Date: Re: Leopard broke my progress indicators
  • Previous by thread: Re: Leopard broke my progress indicators
  • Next by thread: Re: Leopard broke my progress indicators
  • Index(es):
    • Date
    • Thread