in Technology by (1.8m points)

Explain the difference between atomic and nonatomic synthesized properties.

1 Answer

0 votes
by (1.8m points)

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

0 votes
asked Dec 12, 2020 in Technology by JackTerrance (1.8m points)
...