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 Numbers

Really don't understand what is wrong?

I am creating a constant called title with a value of "A Dance With Dragons"

numbers.swift
let title = "A Dance With Dragons"

4 Answers

Edit:

You have a capital W. Use with instead of With.

I have tried that as well first, it didn't work so I took it out

My first try was

let title: String = "A Dance With Dragons"

but it just keeps saying your title constant has the wrong value in it?

It's a lowercase w not an uppercase w. Fix that and it will work :)

I have tried that as well first, it didn't work so I took it out

My first try was

let title: String = "A Dance With Dragons"

but it just keeps saying your title constant has the wrong value in it?

Ha that was a sneaky move, didn't see that at all!

Thanks for the prompt reply mate, Best,

Alex.