Atomic means only one thread access the variable but nonatomic means multiple thread access the variable .Atomic is thread safe but nonatomic is thread unsafe.Atomic is fast in performance but nonatomic is slow in performance.Atomic is default behavior but nonatomic is not default behavior . we need to add nonatomic keyword in property attribute. Nonatomic may result in unexpected behavior, when two different process (threads) access the same variable at the same time.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Can you answer this question?
Write Answer1 Answers