var tableViewHeight: CGFloat { tableView.layoutIfNeeded() return tableView.contentSize.height }
- (CGFloat)tableViewHeight { [tableView layoutIfNeeded]; return [tableView contentSize].height; }