Dim tbl as TableView
dim no as NativeObject=tbl
tbl.Initialize("tbl")
no.SetField("delegate",Me)
#If OBJC
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
B4ITableView *t=self._tbl;
NSArray *arr=([t GetItems:indexPath.section]).object;
B4ITableCell* tc = [arr objectAtIndex:indexPath.row];
UIView *view=(tc.CustomView).object;
CGFloat height = CGRectGetHeight(view.bounds);
return height;
}
#End if