2016-06-28 2 views
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"에서) 당신이 사용자 정의 셀에 올바른 식별자를 설정했는지 확인합니다 셀 식별자오류 : 이전 값과 정의가 충돌합니다.

을 설정하는 것을 잊었다 때

+1

오류가 나타나는 행은 무엇입니까? – Paulw11

+1

자세한 정보를 제공해 주시겠습니까? –

+0

이제 고맙습니다 –

답변

0

은 "이전 값으로 정의 충돌"도 발생

enter image description here

+0

고맙습니다. 식별자를 추가했으나 잘 저장되지 않았다고 생각 했으므로 이제 그 오류가 해결되었습니다. –

관련 문제