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 Objective-C Basics Basic Data Types and Variables Review Variables and Basic Data Types

IN Objective-C to assign a value to a variable we use what? an equal sign, why is it saying the answer is wrong?

I tried every symbol in the video - all have been rejected I know JS and PHP - "=" assigns the value ... help

2 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

When I type in = I get "Correct". So I'm not sure why you are encountering an issue?

:)

:dizzy:

oh, I wrote the word because in previous question I also wrote out semi-colon as opposed to ; and it was accepted. Thanks

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

Hmm.

So, I went back and checked that out. If you are writing it out, equal sign will also get a correct answer. (But, "equals" or "equals sign" will not.)... I think the quiz might just be a tad picky. :)

I used equal then equals - didn't think to include "sign" - thanks, I was getting frustrated