Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
- Subject: Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 15 Jan 2010 13:32:28 -0700
On Jan 15, 2010, at 1:03 PM, cocoa learner wrote:
> Any body has any suggestion how it will work???
> Do I need to implement any other method in my custom view subclass, except -
> drawRect???
Are you doing something that is blocking the main thread's run loop from running? NSProgressIndicator will not animate by default if you do that. If that is the case, then you can turn on threaded animation, and then it ought to work. Also, the -displayIfNeeded message is not necessary.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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