RunLoop vs DispatchQueue as Scheduler
There actually is a big difference between using RunLoop.main as a Scheduler and using DispatchQueue.main as a Scheduler: RunLoop.main runs callbacks only when the main run loop is running in the .default mode, which is not the mode used when tracking touch and mouse events. If you use RunLoop.main as a Scheduler, your events will … Read more