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 trial

iOS Build a Blog Reader iPhone App Rebuilding from Scratch Adding a Table View Controller Class

Jordan Riser
Jordan Riser
5,819 Points

Getting an error with the UITableViewCell when running the Blog Reader App

I have added an exception breakpoint and it is sending me to the TableViewController.h file on the line where we configure the cell under

cellForRowAtIndexPath

specifically on this line...

UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];

But I can't figure out what is wrong, when I download the code from the video and try to run it in xcode it won't run either.

2 Answers

Jordan Riser
Jordan Riser
5,819 Points

I got it, turns out when I tried to add the cell identifier to the table view cell I was on the wrong tab in the properties inspector.

Stone Preston
Stone Preston
42,016 Points

in the console there should be some information about whats throwing the exception. can you post the information from the console. it will be very specific as to whats actually causing the problem