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 trialBen Collins
5,647 PointsVery 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
5,647 PointsHmm, I fixed it by re-creating my storyboard and view controller. As for what caused the bug originally, we may never know!
Sam Chaudry
25,519 PointsThat 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
5,647 PointsThat'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!
Ben Collins
5,647 PointsHere's the new issue.