-1
我想創建細胞,我知道的對象,相順應的具體協議。創建符合協議斯威夫特
然而,當我嘗試做:
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell<ModelBinding> = tableView.dequeueReusableCell(withIdentifier: "VacanciesCell", for: indexPath as IndexPath)
return cell
}
我得到了一個錯誤。如何解決它?
你CA n請擴展到所有的tableview細胞或特定細胞類,並符合該協議 –
@Lu_我真的相信,有一個更簡單的方法 –
這是extremally簡單的方法,你要如何做任何事情比這更容易,它符合或者不是,那簡單 –