I have an application that draws a one-bit (two-color) bitmap. It uses one layer drawn in a 320x480 UIView, by translating an CGLayerRef from point to point, across all columns and rows (something like an old typewriter).
To move it up one row, I clip 320x479 pixels from the existing UIView and draw the next 320x1 row. Its performance is okay.
Would CALayers work better? Is there a good demonstration app or sample code for using CALayer objects with the iPhone SDK?
by Alex Reynolds — Nov 02
To move it up one row, I clip 320x479 pixels from the existing UIView and draw the next 320x1 row. Its performance is okay.
Would CALayers work better? Is there a good demonstration app or sample code for using CALayer objects with the iPhone SDK?