func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.row == 1
{
let cell = Bundle.main.loadNibNamed("KonuDetayKonuTableViewCell", owner: self, options: nil)?.first as! KonuDetayKonuTableViewCell
cell.lblBaslik.text = arrayYorumData[indexPath.row].baslik
cell.lblKullaniciAdiVeTarih.text = arrayYorumData[indexPath.row].uye + " - " + arrayYorumData[indexPath.row].tarih
cell.lblYazi.text = arrayYorumData[indexPath.row].yazi
cell.updateConstraintsIfNeeded()
if singleton.username != arrayYorumData[indexPath.row].uye{
cell.btnDüzenle.isHidden = true
}
return cell
}
}
Hi I'm getting an error here. How can I solve the problem? I did not have a problem with the previous version but I started getting this error in the version I just updated