Now I'd like to do the same thing for each frame of an animation. But
I have absolutely no idea on how to do this...
- at what point in the code should I add the animation to the layer?
- I've tried different values for the first argument of
beginFrameAtTime:timeStamp:, but only the 1st frame is rendered?
- why does [renderer nextFrameTime] always return "inf"?