http://bill.dudney.net/roller/objc/entry/catiledlayer_example