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 Swift Basics (retired) Control Flow While and Do-While Loop

akin kuelhanbey
akin kuelhanbey
6,676 Points

Hi there, my Xcode doesn't allow println (it says it is an error). It says you have to write print. Just for info.

Maybe there was a change in the new version of Xcode?

1 Answer

Jhoan Arango
Jhoan Arango
14,561 Points

Hello Akin:

Swift 2.0 was just released along with the new version of Xcode and it does have some changes. In which println is one of them, you no longer have to use println, instead use "print".

Good luck coding

akin kuelhanbey
akin kuelhanbey
6,676 Points

Thanks a lot for your answer. :)