• 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 bar on sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: progress bar on sheet


  • Subject: Re: progress bar on sheet
  • From: Chuck Soper <email@hidden>
  • Date: Sun, 10 Apr 2005 17:09:08 -0700

At 11:25 PM +0100 4/10/05, Hamish Allan wrote:
On Sun, 10 Apr 2005 14:05:27 -0700, Chuck Soper <email@hidden> wrote:

Hi Shawn,

Beautiful! Using [myProgressIndicator setUsesThreadedAnimation:YES];
works great. Thank you. And Joannou, thanks for your suggestion too.

Chuck

As a matter of courtesy to your users, when you are performing a time-consuming task you should provide a 'cancel' button. Follow Joannou's suggestion of spawning a worker thread, and you can use a dual-purpose callback function with a float argument (set the progress bar in the UI) and a BOOL result (cancel or continue the worker thread). Indeterminate progress bars should only really be used when determinate ones would progress unevenly -- if you absolutely must use one, you should provide a textual description of the steps that are being taken which should change frequently enough to give your users faith that the app has not frozen. As it stands, your users are going to see the spinning beach ball of death, which you should always avoid if at all possible.


Best wishes,
Hamish

Thanks for your email. I completely agree with you in principle. The time-consuming task I'm doing is done once and once only. Also, about 90% my users never do this one-time task. My alert says that it will take less than a minute, but it usually takes about 5 seconds. The task is manual eSellerate product activation (during the purchase process).
Cheers,
Chuck
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Re: progress bar on sheet (From: Hamish Allan <email@hidden>)

  • Prev by Date: Re: Array Problems
  • Next by Date: NSSpellChecker crashes after 64k words
  • Previous by thread: Re: progress bar on sheet
  • Next by thread: Using wildcards in string comparison
  • Index(es):
    • Date
    • Thread