I checked what\'s new in Xcode 9 documentation and I found this
But i didn\'t understand what is that how I can use this with new Xcode 9.
Under the Runtime API Checking section, ensure that the Main Thread Checker is enabled to see if you are executing ui methods in a non-UI thread