Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace runModalForWindow with beginModalSessionForWindow + runModalSession? #1

Open
Sega-Zero opened this issue Nov 12, 2014 · 0 comments

Comments

@Sega-Zero
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants