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 Object-Oriented Swift Complex Data Structures Introduction to Structs

Rick Hoen
Rick Hoen
1,257 Points

"let P1" does not work

I have typed the exact same code as in this video. However, "let P1" returns "__lldb_expr_20.Point" instead of "Point" like it does in the video.

What seems to be going wrong here?

2 Answers

Maria Angelica Dadalt
Maria Angelica Dadalt
6,197 Points

It is working. Your Xcode version just isn't the same as Pasan's. Mine does that too and I'm running the latest version. It may be a change in the newer versions or just a setting that can be changed. Either way, it is working.

I faced the same Problem, getting back "__lldb_expr_51.Point" instead of point.