What is nonatomic and strong in objective c?



What is nonatomic and strong in objective c?..

Answer / Anupam Bharti

"In Objective-C, nonatomic indicates that the property access is not thread-safe. Strong refers to a strong reference, which means the object will not be deallocated until all strong references are released. For example: `@property (nonatomic, strong) NSString *myString;`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What is delegate? Can delegates be retained?

1 Answers  


How to call objective c function in swift?

1 Answers  


What happens if you add your just created object to a mutable array, and you release your object?

1 Answers  


What is parsing? Mention which class can you use for parsing of xml in iphone?

1 Answers  


Does objective c have multiple inheritance?

1 Answers  


What are class b properties?

1 Answers  


What is the purpose of managed object context (nsmanagedobjectcontext) in objective-c and how does it work?

1 Answers  


Does objective-c contain private strategies?

1 Answers  


What is difference between objective c and swift?

1 Answers  


What is gcd objective c?

1 Answers  


How do I add objective c to swift project?

1 Answers  


What is a hash string?

1 Answers  


Categories