This repository contains a bunch of examples for drawing simple graphics using Quartz, the graphics library that is part of iOS and Mac OS X. It accompanies a blog post I wrote entitled: Drawing Primitives with Quartz.
It looks like this:
Copyright Nick Charlton 2011. Licensed under the MIT licence.