내 응용 프로그램에 핵심 데이터를 구현했습니다. 실행하면 다음과 같은 오류가 발생합니다. 2014-11-21 13:29:28.400 MyApp[2630:37096] *** Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-3318.16.14/UITableView.m:6116
TableView CoreData 오류 : Swift의 어설 션 오류
내가 뭘 잘못했는지 (아직도 배우고 있어요) 모르겠어요.
func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
var cell:MyTableViewCell = tableViewNotes.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as MyTableViewCell
cell.textLabel.text = "\(daten[indexPath.row].aufgabe)"
return cell
}
및 오류가 발생한 행 :
var cell:MyTableViewCell = tableViewNotes.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as MyTableViewCell
빠른 답변 감사합니다! 이제 CoreData 라이브러리에 중단 점이 생깁니다. 그러나 그것은 효과가있는 것으로 보인다. 나는 한 발 더 나아 갔다. – hom