Pages tagged coreanimation:

Cocoa with Love: An Asteroids-style game in CoreAnimation, Part One.
http://cocoawithlove.com/2009/02/asteroids-style-game-in-coreanimation.html

Example code
How would you write an arcade-style 2D game in CoreAnimation? Over the next few weeks, I'll show you how to write a resolution independent, high-speed, model-view-controller designed, Asteroids-style arcade game using CoreAnimation as the screen renderer. In this first of four parts, I'll detail the concept for the overall application and show you how to create a resolution independent window for the game.
If I ever want to learn native code on the mac instead of just using HTML5 I should read this.
A normal document style object can be swapped with another document or recreated. A singleton is lazier and simpler since it doesn't need to be connected to every object which needs to access it (since it is globally accessible).