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!

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 Numbers

Ian Callahan
Ian Callahan
Courses Plus Student 228 Points

I don't understand

why is the carrot under the "T" and how would I resolve this issue?

let title; "A Dance with Dragons"

2 Answers


You typed a " ; " in your constant declaration.

Be careful here ->

let title : String = "A Dance with Dragons"

This is the right answer. To clarify: "let" keyword tells the system that you are declaring a constant (constant cannot be changed when they are initialized with a value), then ": String " tells the system that the constant will be of type String, and finally =" A Dance with Dragons" sets the constant with this string value.

Hope this clears some things.



Ian Callahan
Ian Callahan
Courses Plus Student 228 Points

Oh yes thank you!! I ended up re watching the lecture and caught it myself. Thanks for the help

Welcome. And don't worry you'll get more and more questions as you progress, but the solution is easy: either the Documentation or Treehouse forum, you'll get your answer.

Enjoy your Sunday.