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
Sohel Masud
190 PointsNSString
Whats wrong with this statement ? NSString *myString = @"Crystal Ball" ;
Sohel Masud
190 PointsThanks thats one of the mistakes, another mistake was it asked me to input "Fun with Objective-C" instead of the "Crystal Ball".
3 Answers
Mike Gabriel
8,402 PointsIt appears you have a space character between your ending double quote and semicolon.
Mike Gabriel
8,402 PointsI would suggest you re-read the task instructions and confirm that your variable contains exactly what it is asking.
Sohel Masud
190 PointsMike you're right after reading it carefully I've found that it asked me to input "Fun with Objective-C" instead of the "Crystal Ball"
Sohel Masud
190 PointsThanks for your reply Mike, I deleted the space still shows this msg Your 'myString' variable has the wrong value in it. Check the task instructions again.
Dan French
402 PointsI have the exact same problem.
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsNSString *myString = @"Crystal Ball"; you have a space after @"Crystal Ball"