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 triallori pinkerton
140 PointsHaving hard time with Code Challenge Here is my code: NSString *pubcrawl =@"Crawl"; Signed, Pissed
I've asked for assistance on this before, and have made the changes but no luck
//Enter your code below!
NSString *pubcrawl =@"Crawl";
3 Answers
William Li
Courses Plus Student 26,868 PointsHI, Iori, You have to do exactly what the challenge is asking to pass it
Create a variable named bestSmartphone of type NSString with the value "iPhone"
variable name has to be bestSmartphone, the String value has to be iPhone
NSString *bestSmartphone = @"iPhone";
lori pinkerton
140 PointsThanks William. I figured it out. Much appreciated.
lori pinkerton
140 PointsI see got it. Thanks.
lori pinkerton
140 PointsI see. I get it. Thanks so much
Preston Skaggs
11,818 PointsPreston Skaggs
11,818 PointsNot sure why you are having trouble, but if this is for the String Basics Challenge it was asking you to create a NSString variable named bestSmartphone and assign the value "iPhone".
NSString *bestSmartphone = @"iPhone";