Hi,
I'm implementing tableView viewForHeaderInSection where I return a nib loaded UITableViewCell.
I've simplified it for the purpose of this question.
`- (UIView *)tableView:(UITableView )tableView viewForHeaderInSection:(NSInteger)section { UIView header = [CellFactoryController newSectionHeader]; header.text = "Some Text Depending on the section" return header;
}`
Unfortunatly this is very slow because I sometimes have 50+ headers which all get loaded from nib all at once when the table draws , even though those headers are not in view.
Is there any realistic way of me being able to clone UIViews and thus clone the header in this example? Or is the only way for me to just create the headers UIView hard coded?
Thanks