views:

56

answers:

0

How would I go about implementing a table view that looks and works something as illustrated in the link below, with UIKit for the iPhone? http://img442.imageshack.us/img442/4177/uifisheyeview.png

So basically I want the cell sizes to vary according to distance of focus (middle of view). And I would also want it to be semantic zooming and not graphic distortion by applying a transform (e.g. maybe that would be possible to apply to a whole UITableView before rendering..., but anyway, that is not what I want.). Also that the middle cell should be able to hold additional text/image content than the cells more distant to the focus point.

I was thinking of using UITableView, and was looking a bit at the UITableViewDelegate methods

tableView:willDisplayCell:forRowAtIndexPath:
tableView:heightForRowAtIndexPath:

But it seems as the UITableView will modify the cell frames after these methods are called and just before the cells are drawn?

Maybe skipping the UITableView and go straight for some subclassing of a UIScrollView would be a better approach?

So my question is basically that I would just like some overall thought in what might be the best ways to use existing UIKit components to implement this type of table view.