One Quickie

Clipping cell image drawing to rounded corners of grouped tables (UITableView->Hacks)
If you have a grouped UITableView, the top and bottom cells of each group are rounded. If you have an image in the cell, it will obliterate the left-hand corners. There's a number of ways to properly fix this : pre-clip your images with some transparency at the corners. Set up a clipping path before drawing the cell, or playing with the image view's cell layer.

Or you can hack it by setting the cell's indent to 1. That scoots the whole cell contents over by 10 pixels, letting you miss the rounded corners. Really handy if you're prototyping, want something to look non-horrible, but don't want to go the full-blown correct solution.

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book