I have an iOS OpenGL ES 2.0 game and currently have a CADisplayLink with a :render method. In this render method I do all the game's logic updates and drawing.
Is this correct? Or should my game logic go somewhere else - and if it should go elsewhere... where?
The reason I'm asking is that I've been writing a game and it's starting to exhibit strange behaviour which I suspect is related to the game logic taking longer than a frame to compute, and after following a few different 'fix your timestep'/framerate independent drawing type posts I can't quite match it to how iOS handles things since in iOS there isn't a 'main' style loop.