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

Create a new string named aString that contains the text "Objective-C is fun".

hi there i am kind of stuck in this code challenge ... i have follow the video and post the answer in the code challenge writing .. NSString *myString = @"Objective-C is fun"; ... but it keep on saying recheck my workk ... need some help .. thanksss

1 Answer

Looks like you have almost everything right. You got all the formalities right which is great, but you just named the string wrong. You put *myString and they ask you to name the string *aString. But besides that you did it perfect. Keep up the great work. Oh besides the point below is the full answer. :)

NSString *aString = @"Objective-C is fun"; [aString length]; [aString uppercaseString];

Thanks alot ... was stuck in that question for quite some time .. :)))

Absolutely, I definitely know how you feel! The quizzes help me learn so much but, sometimes, it is the smallest thing that won't let me pass even though I understand the concept. Oh well... TreeHouse is still a fabulous software.