Hello team, wanted to thank you all for your previous help but running into another issue.
Everything is running as expected until I get to the Data Source section. As recommended I added the following code to the ChecklistViewController:
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) → Int {
return 1 }
override func tableView(tableView: UITableView,
cellForRowAtIndexPath indexPath: NSIndexPath) → UITableViewCell {
let cell = tableView.dequeueReusableCellWithIdentifier( “ChecklistItem”, forIndexPath: indexPath)
return cell }
But when I run the program to get to the next section (before the add 5 rows exercise) I get the following error message:
2016-04-11 12:48:51.765 Checklists[72680:17576381] *** Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3512.60.7/UITableView.m:6573
2016-04-11 12:48:51.768 Checklists[72680:17576381] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘unable to dequeue a cell with identifier ChecklistItem - must register a nib or a class for the identifier or connect a prototype cell in a storyboard’
Not sure where I went wrong here. Any help of push in correct direction is much appreciated. Thanks!!