in Technology by

Explain the difference between atomic and nonatomic synthesized properties.

Please log in or register to answer this question.

1 Answer

0 votes
by

Atomic is the default behavior will ensure the present process is completed by the CPU, before another process accesses the variable is not fast, as it ensures the process is completed entirely

Non-Atomic is NOT the default behavior faster (for synthesized code, that is, for variables created using @property and @synthesize) not thread-safe may result in unexpected behavior, when two different process access the same variable at the same time.

Related questions

...