public override nfloat GetHeightForRow (UITableView tableView, NSIndexPath indexPath)
{
var cell = cells [indexPath.Row];
if (cell.GetType () == typeof(BeerDescriptionCell)) {
var c = cell as BeerDescriptionCell;
return c.PreferredHeight + 50;
}
if (cell.GetType () == typeof(BeerHeaderCell)) {
var c = cell as BeerHeaderCell;
return c.Frame.Height;
}
if (cell.GetType() == typeof(StarRatingTableViewCell))
return 74;
if (cell.GetType () == typeof(CheckInLocationMapCell))
return 200;
if (cell.GetType () == typeof(PurchaseTableViewCell))
return 87;
return 0;
}