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 (Retired) Foundation Framework NSNumber

Heng Liu
Heng Liu
16,220 Points

what does strong syntax means

In the video I saw something like: @property (nonatomic) float radius; @property (nonatomic, strong) Shape *circle;

why there is a "strong", what does it mean? Why do we need to use it?

1 Answer

Chris Shaw
Chris Shaw
26,676 Points

Hi Heng,

Have a read of the following StackOverflow thread, it should answer your question.

http://stackoverflow.com/questions/11013587/differences-between-strong-and-weak-in-objective-c

Hope that helps.

Laurie Gray
Laurie Gray
23,119 Points

This link was freaking amazing Chris many thanks for getting all of my questions answered immediately! :)))