After I posted my previous how to on core graphics, someone asked me if I was porting Baby Smash to the iPhone. Well, I wasn’t at the time, but I had a rare couple of hours free this evening, so I decided to take a shot at it. The example shows how to generate various geometric shapes from primatives as well as how to fill with colors and images. Possible enhancements might include sound effects, free form drawing and animation. I’ll add those when I get a chance.
The code is available at http://github.com/mikebluestein/iBabySmash