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?

Ben Collins
Ben Collins
5,647 Points

Very strange..

So I've followed the tutorial exactly, and looked my code over quite a bit. The cell.detailTextLabel.text command doesn't seem to do anything.

After some debugging, it seems that nothing I do with the interface builder has any bearing on my code. In fact, I can completely delete the Table View Controller from my scene and the code still runs.

I feel like I'm missing something obvious.

4 Answers

Ben Collins
Ben Collins
5,647 Points

Hmm, I fixed it by re-creating my storyboard and view controller. As for what caused the bug originally, we may never know!

Sam Chaudry
Sam Chaudry
25,519 Points

That has happened to me in the past, sometimes Xcode can create like a cache version of the app. A tip to get round this is to clean the app and then run it, it should get rid of any lingering code. If you want to do this then go into Xcode, select from the menu Product ->Clean and that should do it. Once you've done that run it again and should sort everything out.

Ben Collins
Ben Collins
5,647 Points

That's good to know! I don't know that it fixed my particular issue. I'm seeing it happen again at a different point in this course.. I'll start a new question on the appropriate video and link to it if you're interested. Thanks!