ODUIThreadGuard is an open source library from old donkey that helps you to make sure that your UI is not blocking the main thread.
ODUIThreadGuard implements automatically when added into your project, and can be configured to run only in debug mode if desired.
The features stated in the readme include:
– Passive implementation
– Throw an assertion if setNeedsDisplay, setNeedsLayout, or setNeedsDisplayInRect: is called for instantion of any UIView
– Get the thread stack to help you locate where you make the mistake
You can find ODUIThreadGuard on Github here.
A nice library for making sure UI changes don’t occur in the main thread.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.