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 trialTim Taylor
279 PointsXcode won't recognize my println function. It keeps saying that I need to change it back to print.
I'm practicing strings. When I type "println", the error in my gutter keeps saying that I need to change it to "print" like it won't recognize "println"
1 Answer
Martin Wildfeuer
Courses Plus Student 11,071 Pointsprintln
has been renamed to print
as of Swift 2. As the early Swift learning videos refer to Swift 1.2, things that no longer apply to Swift 2 should be mentioned in the teachers notes.
The following links might be helpful:
- Treehouse introduced new Swift 2 courses in October, starting with Swift 2.0 Basics
- Moreover, there's a Treehouse workshop video, What's new in Swift 2.0
- Always a good read: Ray Wenderlich, What's new in Swift 2