I have a CATiledLayer that is used to display a PDF page (this CATiledLayer is the layer type of my UIView, which is a subdivision of UIScrollView). I want to add overlay labels on this page. Therefore, I am adding a sublevel to my CATiledLayer. This sublevel again places different marker levels and acts as a grouping layer.
So graphically, I have: (remember that I have several markers that are also CALayers, this is the art of ascii)
pdf page (CATiledLayer)
----------------------
| CALayer |
| +---------+ |
| | +----+ | |
| | |mker| | |
| | +----+ | |
| +---------+ |
| |
----------------------
I created a canonical drawLayer: inContext: in my opinion, for drawing pdf.
, , PDF- , . , CALayer, .
, , , . ? ? CALayer drawLAyer: inContext: message?
, , , . , .