I've got a nice table populated with data, with custom-designed cell layouts. Currently, tapping a cell will push in a new view (for more information, say), which works fine.
What I'd like to do, though, is have the new view push into the cell's bounds, not fill up the whole screen. Can't seem to wrap my brain around how to accomplish this -- any pointers you could offer?
Thanks! :)
Update: Here's some of the code, in case that helps the helpers:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
FlippedViewController *flippedViewController = [[FlippedViewController alloc] initWithNibName:@"FlippedView" bundle:nil];
// What goes in here? Where do contentView and originalView come from?
[originalView removeFromSuperview];
[contentView addSubview:flippedViewController.view];
[flippedViewController release];
}