You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When expanding cells one after one from first to the last cell. At the last cell Crashed.
if we have three cells when trying to expand at 3 cell that indexPath { 0 : 0, 1: 4}
let cellRect = tableView.rectForRow(at: indexPath)
// Scroll to the cell in case of not being visible
if !tableView.bounds.contains(cellRect) {
tableView.scrollToRow(at: indexPath, at: .bottom, animated: true) // Crashed here
}
}
When expanding cells one after one from first to the last cell. At the last cell Crashed.
if we have three cells when trying to expand at 3 cell that indexPath { 0 : 0, 1: 4}
private func scrollCellIfNeeded(atIndexPath indexPath: IndexPath, _ tableView: UITableView) {
private func update(_ tableView: UITableView, _ item: DataSource.Item?, _ currentPosition: Int, _ indexPath: IndexPath, _ parentIndex: Int) {
}
due to instance numberOfChildren is an increased value by one
The text was updated successfully, but these errors were encountered: