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 Swift Basics (retired) Types Printing Results

Adrian F.
Adrian F.
911 Points

No "print" & console

First Problem:

When i want to enter "print("To build an iPhone app we need to learn Swift") in the playground it shows ""To build an iPhone app we need to learn Swift\n"

Second Problem: The console bar doesn't appear. I get an empty left field

Thanks in advance

  • Adrian

2 Answers

I think this article may help you understand.

The console thing is a tricky one. I've not got to the bottom of this. You're probably running a beta version of Xcode, rather than a released one? There have been issues with the console output disappearing that I've not yet got to the bottom of.

Let me know what you're experiencing and I'll see if I can help.

Steve.

Micheal Green
Micheal Green
828 Points

I ran in to the same problem. I was able to find some info stating that the console no longer appears in the assistant editor as of X code version 7, but in the debug field. Hope that helps!

Micheal