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 trialKatie Blount
3,043 Pointsprintln doesn't work
When I get in my playground, I get an error that println has been changed to print. Is this a change in versions?
1 Answer
Jason Anders
Treehouse Moderator 145,860 PointsHey Katie,
Yes, println
was deprecated with the Swift 2.0 release (along with more than a few changes). Swift also became Open Source with the 2.2 release in March, so expect many more changes to come in Swift 3.0. Swift is a very new language, so will probably be evolving for a while.
So, if you're using Xcode 7, you will want to switch to the Swift 2 Track as there are a few changes that won't be recognized in Xcode.
Keep Coding! :)