Re: Progress Sheet on a NSDocument
Re: Progress Sheet on a NSDocument
- Subject: Re: Progress Sheet on a NSDocument
- From: Andreas Mayer <email@hidden>
- Date: Mon, 26 Mar 2007 02:16:22 +0200
Am 25.03.2007 um 20:44 Uhr schrieb Nick Zitzmann:
NSProgressIndicator is thread-safe,
Not really. I tried to start an indeterminate progress indicator from
within a secondary thread and it wouldn't animate. I had to click the
window/view first. Moving the -startAnimation: to the main thread
fixed it.
So, maybe using it from a thread other than the main thread will not
kill your app, but most likely it will not work as expected either.
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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