• 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: NSProgressIndicator not animating when part of NSAnimation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSProgressIndicator not animating when part of NSAnimation


  • Subject: Re: NSProgressIndicator not animating when part of NSAnimation
  • From: Kyle Sluder <email@hidden>
  • Date: Sat, 15 Aug 2009 18:11:06 -0700

On Aug 15, 2009, at 6:04 PM, Thomas Bauer <email@hidden> wrote:


Further to my below question I found out that the problem is related to what is triggering the code that starts the animation:
If the code that starts the NSAnimation and the NSProgressIndicator animation is called in an IBAction called by a button on a different window,
the NSProgressIndicator animation does not start.

Try scheduling a delayed perform in a normal runloop mode. The button is probably implementing its own runloop (one of the two ways controls perform mouse tracking). You need to break out of this runloop mode, and peformSelector:onMainThread: will do it.


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


  • Follow-Ups:
    • Re: NSProgressIndicator not animating when part of NSAnimation
      • From: Thomas Bauer <email@hidden>
References: 
 >NSProgressIndicator not animating when part of NSAnimation (From: Thomas Bauer <email@hidden>)
 >Re: NSProgressIndicator not animating when part of NSAnimation (From: Thomas Bauer <email@hidden>)

  • Prev by Date: Re: NSProgressIndicator not animating when part of NSAnimation
  • Next by Date: Re: NSProgressIndicator not animating when part of NSAnimation
  • Previous by thread: Re: NSProgressIndicator not animating when part of NSAnimation
  • Next by thread: Re: NSProgressIndicator not animating when part of NSAnimation
  • Index(es):
    • Date
    • Thread