How can I run code block in background periodically using GCD? I am trying to write a game engine with several subsystems, like rendering, physics, game logic and so on. Some ta
What you want is a GCD dispatch source. For sample code, see the Creating a Timer Example.