On page 121, there is the following paragraph I need some help interpreting. How I read this is you must draw INSIDE method drawrect: because (my interpretation follows ->) of some local variable scope issue. Do I find the answer in the Quartz 2D documentation? What am I missing here? Thanks for any advice.
“Notice that you only call drawing routines inside drawrect:. Outside of a drawrect: method, there is no active CGContextRef, and drawing routines will fail.”