On Apr 10, 2008, at 8:00 PM, Don Arnel wrote:
Hey all...
This is my first time posting to this list. I've been a Windows
developer for many many years and have just recently started to
play around with Macs. I feel like a beginner all over again!
Anyway....
I've got a Cocoa application which runs a simulation loop 1000s of
times. Of course, this prevents any user interaction with the rest
of the program while the simulation is running. When I was
programming for Windows there was a call in Visual Basic
(app.DoEvents()) which would process any pending events. You could
put DoEvents() inside long loops to prevent blocking user input.
Is there a similar way to handle this in Cocoa?
Is using Threads not a possible solution?
_______________________________________________
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]