I'm trying to load all cells in table view but I can't. I have received an error. Did you have any solution to fix this issue?
This is my code :
func selectAllowCellInTableView(tableView:UITableView){
for j in 0..<tableView.numberOfSections{
for i in 0..<tableView.numberOfRows(inSection: j){
let indexPath = NSIndexPath(row: i, section: j)
let cell = tableView.cellForRow(at: indexPath as IndexPath) as! VideoTableViewCell
cell.imageViewCheck.isHidden = false
}
}
}