-
Notifications
You must be signed in to change notification settings - Fork 6
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
Background checking #15
Comments
I have a plan to solve this issue using NSThread (because GCD is only for Snow Leoprad and this is not a multi core performance issue). |
Consider using NSOperation if possible as it will leverage GCD where possible and is compatible on both Leopard and Snow Leopard. |
Thanks for mentioning NSOperation. I didn't know that new API since 10.5. |
No problem NSOperation works in conjunction with NSOperationQueue. It's a very nice abstraction for threading. I use it heavily in iPhone dev. |
I don't know why I didn't mention this before but what about simply using performSelectorInBackground: ? |
Clicking "Check Now" blocks the user interface (menu icon) for a few seconds.
The checking process should be done in a background thread or equivalent mechanism (GCD task, etc), so that clicking the icon is possible during the update process.
The text was updated successfully, but these errors were encountered: