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

Playground results pain output not matching videos.

I've been following along in the video's through the Swift course and i've been noticing my results pain isn't matching up to what is being shown in the videos. For example on the Swift video for Optionals at 6:42, the output shown in the video is {Some "404"}. My editor is only showing me "404".

I've double checked my code and it exactly matches whats in the video so the only thing I can think of is it's either a setting in Xcode i'm missing, or maybe Apple changed it with later versions of Xcode. Can anybody shed some light on this for me?

Thank you

Hey William. Do not worry for this little difference, the reason behind this is probably because you have a more up-to-date Xcode version. But either way "404" and Some "404" mean exactly the same exact thing. Hope this answers your concern :)

I was hoping it was a setting that I missed because it seemed nice to see that sort of output. Thank you for your quick response.

Sometimes there will be some differences in your outputs than in the video but don't worry because most of the time it doesn't affect anything at all, its all the same. And no problem glad to help.