When dealing with property declarations, what is the difference between atomic and non-atomic?
Answer / Sourabh Sharma
In iOS, when declaring properties, the atomic keyword ensures thread safety by synthesizing accessor methods using locks, while non-atomic does not. This means that atomic properties can be accessed concurrently without risking data inconsistencies, but with a performance overhead.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is apple ios based on linux?
Can a "delegate" retained in ios?
Which are the ways of achieving concurrency in ios?
Explain arc?
Explain your process for tracing and fixing a memory leak
Difference between cocoa, cocoa touch and objective c?
Can you explain ios design patterns?
What is advantage of categories? What is difference between implementing a category and inheritance?
Explain difference between release and autorelease?
What is background mode in ios?
Explain formal protocols?
What is reference count in ios?