title: Displaying PDFs on iPhone - CALayers?
body: <p>I'm having a huge headache trying to figure this out. I'm trying to display a single page from a pdf file (the only one that is). This pdf page is a map that I need to zoom in and out with pinching, etc... I am doing this with CATileLayers (each tile being 256x256, but can set it to a bigger size). It does the job but REALLY slowly. What I wanted to do was to load all these tiles at once. Is that possible? 
  drawInContext: is called for each tile, but when I move around but I have to wait for them to appear, and I wanted a smooth experience on the device. I haven't really got to the zooming part, but I'm afraid it will require more work than I expect.
  Other than that is there any way I can set the bounds of the superlayer to stop when it reaches the bounds of it or I have to do that manually on touchesMoved?
  Anyone ever had to deal with this situation?</p>
  
  <p>I am trying to adapt the code from Bill Dudley found here: <a href="http://bill.dudney.net/roller/objc/entry/catiledlayer_example" rel="nofollow noreferrer">http://bill.dudney.net/roller/objc/entry/catiledlayer_example</a> , but not having so much luck.</p>
  
  <p>Any help and suggestions would be greatly appreciated. Thanks</p>