Re: Leopard broke my progress indicators
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