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

Brahim Farhani
Brahim Farhani
1,534 Points

Answer

Can you show us the answer as I do not understand what is wrong?

println.swift
let language = "Swift"
println((language) "Learning Swift")

4 Answers

Michael Hulet
Michael Hulet
47,913 Points

You didn't quite get your string interpolation syntax right. You need to add a backslash before the opening paren before language in the println call. Also, I don't think the string you're using is quite right for what the challenge is asking. This should work:

let language = "Swift"
println("Learning \(language)")
Brahim Farhani
Brahim Farhani
1,534 Points

Michael Hulet may I contact you for further questions ?

Michael Hulet
Michael Hulet
47,913 Points

Sure. I'm a little rusty on my Swift (I'm an Objective-C guy), but I'll try to help as best I can. It appears you've already found me on Facebook, so I guess no further contact info is necessary. I'll accept your friend request when I get home from school

Brahim Farhani
Brahim Farhani
1,534 Points

Sounds great thank you! Can you also give me the time when your available ?

Brahim Farhani
Brahim Farhani
1,534 Points

Sounds great thank you! Can you also give me the time when your available ?

Brahim Farhani
Brahim Farhani
1,534 Points

Sounds great thank you! Can you also give me the time when your available ?

Michael Hulet
Michael Hulet
47,913 Points

Generally, I'm free between about 2:30 PM EST and 11 PM EST on weekdays (I'm still a high schooler in the Philadelphia area), and pretty much all day on weekends, depending on whether or not I'm at a hackathon or a Robotics competition. Just message me whenever, and I'll answer as soon as I can