• 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: Progress Indicators Spin vs Bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Progress Indicators Spin vs Bar


  • Subject: Re: Progress Indicators Spin vs Bar
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 20 Jun 2011 01:14:27 -0700

On Jun 20, 2011, at 12:36 AM, James Merkel <email@hidden> wrote:

> It turns out if I use setUsesThreadedAnimation:YES on the progress indicator, the bar indicator animates.
>
> The docs say this method sets a hint as to whether the receiver should implement animation of the progress indicator in a separate thread.  I guess the hint is taken and the animation is performed in a separate thread.

You still haven't addressed the question of whether you're blocking the main thread.

According to your pseudocode, you are. This is very bad. The spinning beach ball cursor will appear while your app is performing its "long processing," and there will be no way for your app to receive any events from the user asking it to cancel.

I look forward to the day when OS X automatically kills beachballing programs after a certain time, a la iOS. Because then maybe iTunes will finally get rewritten.

--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: Progress Indicators Spin vs Bar
      • From: Nathan Sims <email@hidden>
    • Re: Progress Indicators Spin vs Bar
      • From: James Merkel <email@hidden>
References: 
 >Progress Indicators Spin vs Bar (From: James Merkel <email@hidden>)
 >Re: Progress Indicators Spin vs Bar (From: Quincey Morris <email@hidden>)
 >Re: Progress Indicators Spin vs Bar (From: James Merkel <email@hidden>)
 >Re: Progress Indicators Spin vs Bar (From: James Merkel <email@hidden>)

  • Prev by Date: Re: If No Memory Leaks, Is It Good Enough for Memory Management?
  • Next by Date: Re: If No Memory Leaks, Is It Good Enough for Memory Management?
  • Previous by thread: Re: Progress Indicators Spin vs Bar
  • Next by thread: Re: Progress Indicators Spin vs Bar
  • Index(es):
    • Date
    • Thread