On Sun, May 25, 2008 at 1:45 AM, Steve Steinitz
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> This is hard to google for because they are such common words:
>
> how do I delay, wait, pause for a tenth of a second?

Hmm... someone correct me if I'm wrong, but I believe the run loop is
re-enterable. So you could call [[NSRunLoop currentRunLoop]
runUntilDate:smallDate]; from your function. This would also let
NSArrayController update its selection; calling the sleep functions
won't unless you're on another thread.

Just make sure that your code is either re-enterable, or guards
against such cases.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to