Graphics Programs Reference
In-Depth Information
For both subclassing and delegation, you must send an explicit
setNeedsDisplay
to
the layer in order for these methods to be invoked. Otherwise, the layer thinks it doesn't
have any content and won't draw.