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 trialAnand P
893 PointsUILabels in the custom UITableViewCell (THEntryCell) are nil
No errors/exceptions at compile/runtime.
Verified that the IBOutlets are properly wired/named in the IB/Storyboard.
And after some debugging, I see that all the UILabel's created in the custom cell are empty, and the RootViewController is just blank with nothing displayed.
From below, there are values for entry.body but self.bodyLabel?.text is nil
func configureCellForEntry(entry :DiaryEntry){
println("EntryCell - configureCellForEntry");
self.bodyLabel?.text = entry.body;
println("entry.body \(entry.body)");
println("self.bodyLabel?.text \(self.bodyLabel?.text)");
The code can be found here, https://github.com/kulfy/Diary
2 Answers
Anand P
893 PointsAsh Furrow, would you be able to help me out on this when you get a chance?
Rodrigo Moura Gonçalves
3,337 PointsI had the same issue. Did you figure out what it is?