"Build a Diary App Using Core Data" was retired on May 31, 2020. You are now viewing the recommended replacement.

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

How to unwrap optional with core data for uitableview?

I want to simply display a list of beers with their prices along with adding up the total of someones order. Everything is working perfect except that I my NSDecimal which I converted to string displays as Optional() on the tableview. I am assuming I need to unwrap the optional but I am unsure how to do this. I have the same code as the intro to Core Data course except with NSDecimal also displaying. In normal situations I know how to unwrap but in this case everything I have tried does not work and that is why I am turing to treehouse!!

Thanks, MW

can you share your code that doesn't work.