what is the difference between nonatomic & atomic

Answer Posted / babu

Nonatomic and atomic are objective C properties. Atomic is more resistant to threading errors. By default all properties are atomic. In nonatomic, no such guarantees are made. Thus, nonatomic is considerably faster than “atomic”.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a thread in ios?

414


What framework is used to construct application's ios user interface?

419


How can we achieve singleton pattern in iOS?

488


Introduction to iphone application development?

457


Explain how do I get a call when my ipad rings?

457






What is uiviewcontroller in ios?

430


What is weak and strong in ios?

447


What are sensors in iphone?

555


How many versions of ios are there?

417


What are delegates in ios swift?

434


Explain me what is arc? How it works?

448


What is the viper?

480


Is uikit thread safe?

486


How can an operating system improve battery life while running an app in iOS operating system?

420


Define ipa?

454