i want to add image for each cell in tableview of suggestion-row i can add a single image by calling cell.imageView but if i want to put different image in each cell please Help
row.cell.customizeTableViewCell = { (cell, index) in
print(row.cell.tableView?.indexPath(for: cell) ?? "not found")
print(index)
cell.imageView?.image = UIImage(named: "correct.png")
// let index = cell.ind
}
i even edited the class to insert index but for some reason it print 1 everytime
i want to add image for each cell in tableview of suggestion-row i can add a single image by calling cell.imageView but if i want to put different image in each cell please Help
i even edited the class to insert index but for some reason it print 1 everytime