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: Kyle Sluder <email@hidden>
- Date: Fri, 15 Jan 2010 16:03:55 -0800
On Fri, Jan 15, 2010 at 2:54 PM, Shane Stanley
<email@hidden> wrote:
> On 16/1/10 7:44 AM, "Quincey Morris" <email@hidden> wrote:
>
>> AFAIK, the "animation" meant by 'startAnimation:' is *not* the animation of
>> the pattern inside the progress indicator, but an animation of the change in
>> the length of the filled-in part of the progress bar. That is, when it goes
>> from 1/4 to 1/2, say, without animation the blue bar just jumps in length, but
>> with animation it slides along smoothly. For an indeterminate progress bar,
>> the animation does nothing for you (because the bar is always full).
>
> I think you might have that backwards:
He is correct about needing to get back to the runloop for the
determinate animation to happen, if -setUsesThreadedAnimation: has not
been turned on. I believe NSUIHeartbeat or whatever it's called is
responsible for that animation. But you're right in that's not the
animation which -setAnimation: refers to.
--Kyle Sluder
_______________________________________________
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