0
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier("nameCell", forIndexPath: indexPath)
let pancakeHouse = pancakeHouses[indexPath.row]
if let cell = cell as? FAQsViewCell {
cell.pancakeHouse = pancakeHouse
} else {
cell.textLabel?.text = pancakeHouse.que
}
return cell
}
그 당시 프로젝트를 실행할 때 오류가 발생했습니다. 이유가 무엇인지 의미가 무엇인지 이해할 수 없습니다. 당신이 (당신의 사건 "nameCell"에서) 당신이 사용자 정의 셀에 올바른 식별자를 설정했는지 확인합니다 셀 식별자오류 : 이전 값과 정의가 충돌합니다.
을 설정하는 것을 잊었다 때
오류가 나타나는 행은 무엇입니까? – Paulw11
자세한 정보를 제공해 주시겠습니까? –
이제 고맙습니다 –