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!

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

1st iOS question.

I am a newbie and need help. What is the answer to the first question on how to build an iOS app?

6 Answers

Holger Liesegang
Holger Liesegang
50,595 Points

You were asked to name the variable myString:

NSString *myString = @"Fun with Objective-C";
Holger Liesegang
Holger Liesegang
50,595 Points

Hi Bryan,

Welcome to Treehouse. Would you mind posting the question, please?

Kind Regards Holger

Create a NSString variable named 'myString' with the value 'Fun with Objective-C'.

Holger Liesegang
Holger Liesegang
50,595 Points

You create NSString variables like this:

NSString *myStringVariable = @"This is some text";

So I wrote NSString *myStringVariable = @"Fun with Objective-C" ; and it says something is wrong check your syntax

Ahhh..Thank you! :)