Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Swift Basics (retired) Types Numbers

How?

This is right isn't it?

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

2 Answers

Hi Elliot,

'With' shouldn't be capitalized.

Thank you! FINALLY!

You're welcome.

Those types of errors can drive you nuts because you can stare at it forever and still not see the problem.

One thing that might help when you have strings like that where you need to match it exactly is to just copy it with your mouse from the challenge instructions and paste it into your code rather than type it out. That way you know it's an exact match.

Awesome. Thanks for the pointers!