Recent Posts

Showing posts with label atomic. Show all posts
Showing posts with label atomic. Show all posts

IOS: Difference between atomic and non-atomic attributes

What do atomic and nonatomic mean in property declarations? @property(nonatomic, retain) UITextField *userName; @property(atomic, retain) UITextField *userName; @property(retain) UITextField *userName; Let's talk about the operational difference: What do atomic and nonatomic mean in property declarations? atomic was added as a keyword in recent versions of llvm/clang). Assuming that you are @synthesizing the method implementations,...