Chromium has a nice set of utilities and strong practices around enforcing thread safety both at compile time and run time. One of those is known as the ThreadChecker. When used properly, these checks ...
Main Thread Checker: UI API called on a background thread: -[UIApplication windows] Main Thread Checker: UI API called on a background thread: -[UIWindow isKeyWindow] Main Thread Checker: UI API ...