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

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.