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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Taylor Weeks](https://secure.gravatar.com/avatar/6e2a9192eebba1368c8ec97f4125496f?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Taylor Weeks
4,009 PointsDeclare an int property called qty
Let's declare an int property called "qty". (Remember qty is not an object so it should not have the strong attribute).
@interface Product : NSObject
___________ (____________) int qty;
@end
What is this question asking? I do not see anywhere from the videos before where this matches any syntax.
2 Answers
![Marshall Huss](https://secure.gravatar.com/avatar/3e3d9e0776b980bb898d965f0f30c201?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Marshall Huss
3,504 PointsThe question is asking you to declare a @property which can also include attributes for to define how it should be accessible or retained in memory. Check out the Objective-C docs on properties. If you still need some help let me know.
![adnanrashid](https://secure.gravatar.com/avatar/38794392e51542659567c1dfe496f658?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
adnanrashid
889 PointsObjective C is so confusing!!