Re: ask about sleep function
Re: ask about sleep function
- Subject: Re: ask about sleep function
- From: Ondra Cada <email@hidden>
- Date: Mon, 29 Jul 2002 14:37:36 +0200
On Monday, July 29, 2002, at 08:17 , Chong Hiu Pun wrote:
Thanks, actually I want to show progress in progress bar, however it is so
fast that the user cannot see the bar moving.
Then don't show the bar at all, no?
As a result, how can I start
the progress bar and make it slower in another thread instead of using the
sleep function?thanks!
You can use sleep (or preferrably NSThread's -sleepUntilDate:) for that,
but slowing your own app deliberately this way does not look that great to
me. That is, unless you want to sell soon a release 2 whose speed has
considerably improved ;)))
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.