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

Nicolai Johansen
Nicolai Johansen
627 Points

Problem with code challenge in Build a Simple iPhone App (iOS 7)

Hi

I wanted to begin the course, but I constantly get an error when trying to complete the first code challenge. I've put in "NSString *myString = @"Crystal Ball";", but it tells me that "Bummer! Your 'myString' variable has the wrong value in it. Check the task instructions again."

I've reloaded the page a couple of times and it keeps giving me some sort of error, although not always the error above even though I paste the same text in the editor.

Best

Nicolai

Amit Bijlani
Amit Bijlani
Treehouse Guest Teacher

Your value should be "Fun with Objective-C" and not "Crystal Ball".

Nicolai Johansen
Nicolai Johansen
627 Points

Hi Amit

I tried various strings yesterday (including Shawn's) without any luck. But when I tried it again just now it worked. I'm not exactly sure what happened, but I probably typed something wrong. Anyhow, now it works.

Thanks.

1 Answer

I am having the same error as well when I finish my code string: NSString *myString = @"Fun with Objective-C"; and hit submit. I still get errors

S.