JMModalOverlay icon indicating copy to clipboard operation
JMModalOverlay copied to clipboard

replace runModalForWindow with beginModalSessionForWindow + runModalSession?

Open Sega-Zero opened this issue 11 years ago • 0 comments

According to the docs:

A loop using these methods is similar to a modal event loop run with runModalForWindow:, except the app can continue processing between method invocations.

Tried to use your library to block the window until http request is done, but faced the problem that the request hasn't been invoked because of modal runloop. I believe your goal is to block mouse and keyboard events, not all the events? In that case it would be much better to use a modal session, which allows to execute all the code in the background.

Sega-Zero avatar Nov 12 '14 00:11 Sega-Zero