Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialOmar Ghias
1,837 PointsDebugger Issue
My code is (I think) identical to that of the video, but every time I try to run the program it pauses and the debugger appears. There are no syntax errors as no warning/error icons appear on the programming screen. As soon as I run it, however, various bugs appear. When I try running it, the console reads:
Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /SourceCache/UIKit_Sim/UIKit-2903.23/UITableView.m:5261
Any help/feedback would be appreciated, thank you!
2 Answers
Stone Preston
42,016 Pointsdid you set the cell identifier in your prototype cell in storyboard?
Stone Preston
42,016 Pointsgo to your storyboard. In your tableview select the prototype cell. in the attributes inspector set the cell Identifier as Cell then run a clean by selecting product -> clean from teh xcode menu. (sometimes storyboard changes dont go through without running a clean) then build and run your project again
Omar Ghias
1,837 PointsYes, now it works. Thank you!!!
Omar Ghias
1,837 PointsOmar Ghias
1,837 PointsActually no, I haven't. Where exactly do I enter the identifier??