Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Blog Reader iPhone App Getting Data from the Web What is NSDictionary?

Debugger 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
Stone Preston
42,016 Points

did you set the cell identifier in your prototype cell in storyboard?

Actually no, I haven't. Where exactly do I enter the identifier??

Stone Preston
Stone Preston
42,016 Points

go 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

Yes, now it works. Thank you!!!