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 Printing Results

I am getting different results with Xcode 7 Beta

I am using the latest Xcode 7 Beta and I am having a few issues.

1) println doesn't seem to be an option I can only do print

2) when I add the string Interpolator in the line below I get errors and it doesn't recognize modernProgrammingLanguage as a string

print("To build an iPhone app we need to learn \ (modernProgrammingLanguage)")

I am assuming this is because of changes in Xcode 7. How do I do this same funtionality in Xcode 7?

Ivan Kovacevic
Ivan Kovacevic
750 Points

Hi there,

Check out this video https://teamtreehouse.com/library/whats-new-in-swift-20-2 and you will notice that in Swift 2.0 they removed println function, now its only print

And regarding your second question, just be sure you check parenthesis. This is how should lool like:

() print("To build an iPhone app we need to learn \(modernProgrammingLanguage)") ()

Also, check out this link in documentation