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

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.