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

Nayef Mandi
PLUS
Nayef Mandi
Courses Plus Student 2,020 Points

there a problem with the interpolation question on swift, bug ? I'm getting wrong all time

there a problem with the interpolation question on swift, bug ? I'm getting wrong all time

3 Answers

Jeff McDivitt
Jeff McDivitt
23,970 Points

Your code is incorrect, I would recommend going back and watching the videos and also researching string interpolation

let name = "Jeff"
let greeting = "Hi there, \(name)"
Jeff McDivitt
Jeff McDivitt
23,970 Points

Please post your code so we can see what the issue is

Nayef Mandi
PLUS
Nayef Mandi
Courses Plus Student 2,020 Points

let name = "Nayef"

let greeting = \"Hi there, (name)"