• 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: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed) (From: Quincey Morris <email@hidden>)
 >Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed) (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Clipping subview drawing to arbitrary path or image (iPhone)
  • Next by Date: Re: Clipping subview drawing to arbitrary path or image (iPhone)
  • Previous by thread: Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
  • Next by thread: Re: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
  • Index(es):
    • Date
    • Thread