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) Control Flow While and Do-While Loop

akin kuelhanbey
akin kuelhanbey
7,474 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,575 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
7,474 Points

Thanks a lot for your answer. :)