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

Errors

Whenever I try to do a println command I will write it just like Amit has wrote it in the video instructions and I will get an error For example:

let modernProgrammingLanguage: String = "Swift"

println(“To build an iPhone app we need to learn) \ (modernProgrammingLanguage)”) ^ ^ ^ I get an error where the ^ is I am not sure why. it says Fix it insert “,”.

2 Answers

Hi Corbin White !

You're using (open-quotes) and (close-quotes) instead of " (straight quotes) - there's a big difference between them.

let modernProgrammingLanguage: String = "Swift"
println("To build an iPhone app we need to learn) \(modernProgrammingLanguage)")

will run just fine.

...oh and Welcome to Treehouse, Corbin!

Hey Holger,

Thank you so much! I would have never noticed that!