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

Alexander Iraola
PLUS
Alexander Iraola
Courses Plus Student 89 Points

Printing Results

In the printing tutorial video it says when typing print("To build an iPhone app we need to learn Swift") in Xcode and viewing on assistant editor that it should appear under console output on the right panel but nothing happens when I do this. What do I need to do to bring up the console output on the right panel?

Also on Xcode where I have typed println("To build an iPhone app we need to learn Swift") a red stop sign with a white circle in it appears next to it claiming there is a error. What can I do to fix this?

1 Answer

Jari Koopman
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jari Koopman
Python Web Development Techdegree Graduate 29,349 Points

Hi Alexander,

Because of the new Xcode 7 and Swift 2.0 you can't see the console in the assistant editor anymore. They are now showed in the debugger area which you can open by clicking the arrow at the left down corner. The problem with the println statement is fairly simple, in Swift 2.0 println is renamed to print so you can't use the println statement anymore.

I hope I explained enough now. If not leave a comment and I'll try to explain better.