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 trialVictor Montemayor
9,363 PointsXcode and spell checking
I am getting an error in my code using Xcode (Swift)
It is wanting me to change "println" to print, its picking up that it is spelled wrong and is causing the red mark on that line.
How can I fix this?
Thank you
2 Answers
Alexander Smith
10,476 Pointswhen swift 2 replaced swift 1, println turned into just print. There will be more changes as they make more versions of swift as well. It's a young language and is still a work in progress at this point. Also, i recommend doing the swift 2 track as a few things in the swift 1 track are obsolete now
Victor Montemayor
9,363 PointsThank you for the quick reply and helpful info
Pasan Premaratne
Treehouse TeacherHey all,
The content you are watching has been archived because it uses Swift 1 which is an older version. Make sure you take the courses marked Swift 2.0
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsHi Victor, println has changed to print in Swift 2. Pasan Premaratne Maybe Treehouse can make a note of this in the course?