Forcing a method to run on the main thread

You know how many times, as an iOS developer, you want to ensure some method or delegate call occurs on the main thread? ¬†We do this dance countless times, and while it’s straight-forward enough, it can be a burden sometimes.

Here’s an easy way to keep your thread access safe, without having to write a lot of code in the process.

Continue reading “Forcing a method to run on the main thread”