How to expand all the cells at first time?
deepakrhtsdev opened this issue · comments
deepakrhtsdev commented
How to expand all the cells at first time?
igork-ramotion commented
You can do it by adding:
cellHeights[indexPath.row] = Const.openCellHeight
cell.unfold(true, animated: false, completion: nil)
into
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell