Cocoa: how to run a modal window while performing a background task?
I've tried calling modalSession=[NSApp beginModalSessionForWindow:conversionWindow]; [NSApp runModalForWindow:conversionWindow]; in order to get a modal conversionWindow that prevents the user to interact with the rest of the application, but this also seems to block code execution. What I mean is that the code that comes after the code shown above isn't executed at all. How can I fix this? I'm sure this is possible because many applications show some progress while performing some big task, like video conversion etc... Rob Keniger Please don't use an app-modal window unless it's absolutely