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
Khaled Pendleton
20,430 PointsXcode acting weird
I updated Xcode's on my computer and now my old code that ran fine is filled with errors. The biggest issue is that everywhere that I put println() is seen as an error and i have to change it to print(). Also my do-while loops needed to be changed to repeat-while. Is there something wrong with my version of Xcode or is this an update to the language.
2 Answers
Curt Miller
7,181 PointsYes, this is an update to Swift 2.0, the most noticeable difference being the change you mentioned from println() to print(). There is a workshop by Pasan on the differences between Swift 2.0 and Swift 1.2 that I found very helpful here: https://teamtreehouse.com/library/whats-new-in-swift-20
Khaled Pendleton
20,430 PointsCurt Miller Thank you. I thought something was wrong with my software