Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Pallavi Polisetty
Courses Plus Student 1,423 Points--------- tells the compiler that you are not using multi-threading for your property.
i have written atomic for this because non atomic property can be used as multi threading
it is giving me the wrong when i gave atomic, please clarify me on this
3 Answers

Stone Preston
42,016 Pointsnonatomic tells the compiler you AREN'T using multi threading, atomic tells it you ARE using mulithreading
Here is a SO post that might help

RASHU BHATNAGAR
Courses Plus Student 2,669 PointsWe always define the atomic property when we are working in a multithreaded environment and and nonatomic when we are not.....

Abdoulaye D.
2,396 Pointsnonatomic tells the compiler that we are not using multi-threading.
Pallavi Polisetty
Courses Plus Student 1,423 PointsPallavi Polisetty
Courses Plus Student 1,423 Pointsclarified preston, i thought in the reverse way. Thanks.