Skip to content
Browse files

Merge pull request #42 from tewha/patch-3

Typo fix in readme
  • Loading branch information...
2 parents 30814cc + e22fcf3 commit a6d89f16d3bda3857eca4f84ebcc678b55f7b4a7 @matej matej committed Jan 7, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.mdown
View
4 README.mdown
@@ -76,7 +76,7 @@ hud.labelText = @"Loading";
}];
```
-UI updates should always be done on the main thread. Some MBProgressHUD setters are hoverer considered "thread safe" and can be called from background threads. Those also include `setMode:`, `setCustomView:`, `setLabelText:`, `setLabelFont:`, `setDetailsLabelText:`, `setDetailsLabelFont:` and `setProgress:`.
+UI updates should always be done on the main thread. Some MBProgressHUD setters are however considered "thread safe" and can be called from background threads. Those also include `setMode:`, `setCustomView:`, `setLabelText:`, `setLabelFont:`, `setDetailsLabelText:`, `setDetailsLabelFont:` and `setProgress:`.
If you need to run your long-running task in the main thread, you should perform it with a slight delay, so UIKit will have enough time to update the UI (i.e., draw the HUD) before you block the main thread with your task.
@@ -159,4 +159,4 @@ IMPORTANT: Requires LLVM 3+.
**Version 0.1** @ 2.4.09
-- Initial release.
+- Initial release.

0 comments on commit a6d89f1

Please sign in to comment.
Something went wrong with that request. Please try again.