• 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: David Burnett <email@hidden>
  • Date: Sun, 16 Dec 2007 18:04:07 +0000

Nick Zitzmann wrote:

On Dec 16, 2007, at 8:22 AM, David Burnett wrote:

- (void)setDoubleValueInMainThread:(NSNumber *)value {
[self performSelectorOnMainThread:@selector(__setDoubleValueInMainThread:) withObject:value waitUntilDone:NO];


}


This is not necessary since NSProgressIndicator, unlike a lot of AppKit classes, is fully thread-safe.


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


Dave
_______________________________________________

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: Nick Zitzmann <email@hidden>
References: 
 >Leopard broke my progress indicators (From: David Burnett <email@hidden>)
 >Re: Leopard broke my progress indicators (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Leopard broke my progress indicators
  • Next by Date: Creating Gray Scale Image give big leak...
  • Previous by thread: Re: Leopard broke my progress indicators
  • Next by thread: Re: Leopard broke my progress indicators
  • Index(es):
    • Date
    • Thread