Tag: gcd
-
Verifying UIKit is Running on the Main Thread
As previously mentioned: to get the UI to update, you need to run yourUIKit configuring code on the main thread. Peter Stienberger has posted agreat snippet of code that raises an assertion whenever you attempt toaccess UIKit code from off of the main thread. Simply add the file to yourproject (and swap out the PSPDFLogError…