UIView Drawing Model
-[UIView setNeedsDisplay]
You have some kind of custom UIView
which implements some awesome drawing in -[UIView drawRect:]
. In order to have UIKit draw it for you, you send the -[UIView setNeedsDisplay]
to the view object to queue it up for drawing.
-[CALayer setNeedsDisplay]
*------------* *------------*
| | | |