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) Types Strings

Xcode 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
PLUS
Martin Wildfeuer
Courses Plus Student 11,071 Points

println 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: