• 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: 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

References: 
 >Unable to get animation of NSProgressIndicator on my custom view (subclassed) (From: cocoa learner <email@hidden>)

  • Prev by Date: Unable to get animation of NSProgressIndicator on my custom view (subclassed)
  • Next by Date: Re: How can I populate certain table-columns with image cells while using NSArrayController?
  • Previous by thread: 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