This is either an Xcode error, or I do not see a key rule here.
Update:
- What is the likelihood that this will be a strange error in Xcode / Storyboard?
Situation:
- iOS 5 storyboard
- This is the storyboard setting: http://i.imgur.com/T5WyD.png
- Another screenshot of the full setup: http://i.imgur.com/1tVuz.png
- TableViewController with a custom cell, the cell has a reusable identifier "NewCell"
in "cellForRowAtIndexPath" I basically have:
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"NewCell"];
return cell;
This throws an exception:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'UITableView dataSource must return a cell from tableView:cellForRowAtIndexPath:'
Things I've already tried:
- , TabBarController, TableViewController Custom Cell, Storyboard, . , , . , ...
, - , , TabBarController, NavigationController, TableViewController, , , TableViewController, , -.
:- , : UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"NewCell"]; NIL ( /iOS 4). , . , , , .