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

Introduction to Objective-C Quiz Questions

I've literally been doing this over and over and over until I get 5/5 and just can't do it, I've watched the videos exactly 7 times now (almost 2 hours) and still don't understand the introduction to Objective-C videos. I need some major help before I just give up and throw TeamTreeHouse out the window.

Cause of Frustration Goes Here

2 Answers

Have another look at @property declaration syntax. That's what you're being asked to do here.

I tried it once the way I was taut at one point, and then tried it in the way the video teaches it and got it right! Thanks Josh, really appreciate the kind help!

Wrong Right

Also note that you are setting a property for an int (i.e. not an object), which is why you don't use strong in the declaration. IIRC, the video does give a brief description on when to use strong, weak, assign, copy.

Dave Ko
Dave Ko
11,915 Points

What section?

Objective-C Basics > Introduction to Objective-C > Objective-C Syntax and @property