-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简单的方法,你要如何做任何事情比这更容易,它符合或者不是,那简单 –