user174761
user174761

Reputation: 1829

A question related to @property

why we are using nonatomic in the @ property @property(nonatomic,retain)UIButton *button;

what is the meaning of nonatomic?

Upvotes: 2

Views: 90

Answers (1)

Alex Reynolds
Alex Reynolds

Reputation: 96974

The nonatomic modifier means that the property isn't locked when it is accessed or modified from multiple threads. You can find out more in this Stack Overflow answer.

Upvotes: 4

Related Questions