What is difference between weak and strong in ios?



What is difference between weak and strong in ios?..

Answer / Akshay Srivastava

In Objective-C, 'weak' refers to a reference that does not prevent an object from being deallocated. 'Strong' is a stronger reference, preventing the referenced object from being deallocated as long as there are other strong references.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Explain the significance of autorelease?

1 Answers  


Explain app's state transitions when it gets launched?

1 Answers  


What is gcd ios?

1 Answers  


What language is ios written?

1 Answers  


What is Task?

1 Answers  


what is Xcode?

1 Answers  


What is completion handler in ios?

1 Answers  


What is active state in ios?

1 Answers  


Does ios have garbage collection?

1 Answers  


Explain what is iphone architecture?

1 Answers  


what is your preferred programming language? Why? How long will it take you to learn a new programming language?

1 Answers  


How to registering your device with the program portal for iphone development?

1 Answers  


Categories