Assume we have UITableView created in storyboard with prototype cells, it is required to change the structure of table cells (adjusting frames of labels in cell content) based on some calculations at loading the view, currently I change each cell in
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath
after using dequeueReusableCellWithIdentifier: to load table cell,
but this is not efficient as each cell has to be modified individually, it would be much better if we could modify a loaded cell once and reuse the modified cell .
Any ideas ?
This could be useful: