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 trialSteven Katz
1,892 PointsNSString
Challenge: Create a NSString variable named 'myString' with the value 'Fun with Objective-C'.
Answer put: NSString *mystring = @"Fun with Objective-C";
it is saying there is an error, possibly syntax. I don't see it.
4 Answers
Adam Moore
21,956 PointsYou need to have *mystring
capitalizing the "S", like *myString
.
Steven Katz
1,892 PointsWow, thanks for the help!
Adam Moore
21,956 PointsNo problem! Glad I could help!
Steven Katz
1,892 PointsHey Adam, I have another problem. can you help?
Q: We are back to working on the random quotes app and have created a button property called showQuote. We need to place this button towards the bottom of the screen. Assign the following coordinates to showQuote button: X: 100, Y: 250, Width: 280, Height: 44
Adam Moore
21,956 PointsI was only able to answer your question because I learned a little bit of Objective-C and iOS programming a while ago, and when I saw the title of "NSString" in the forum, I thought I might check it out because that looked familiar to me; however, Objective-C and iOS programming are not currently fresh in my mind. Plus, the main reason I was able to help is because I saw that the code challenge instructions told you to use a capital letter when you hadn't used one, so I did the challenge and saw that the capital letter passed.
However, I found this forum post that may be able to answer your question: showQuote problem answered