Re: Cocoa Equivalent of "DoEvents"
Re: Cocoa Equivalent of "DoEvents"
- Subject: Re: Cocoa Equivalent of "DoEvents"
- From: Andrew Farmer <email@hidden>
- Date: Sat, 1 Sep 2007 21:27:46 -0700
On 01 Sep 07, at 21:10, Chris Williams wrote:
Forgive the simple question, but I've been searching the docs and
can't seem
to figure out how to do something quite simple. I have a complex
task that
I'm performing, and it takes some time. I want the window to
update as I
work through the loop. I'm looking for the Cocoa equivalent of the
Visual
Basic "DoEvents" so that I can get the window updates each time
through.
There's no direct equivalent. If you need to perform a time-consuming
task, do it on a separate thread.
_______________________________________________
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