Re: progress bar on sheet
Re: progress bar on sheet
- Subject: Re: progress bar on sheet
- From: Hamish Allan <email@hidden>
- Date: Sun, 10 Apr 2005 23:25:28 +0100
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
_______________________________________________
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