What is the difference between weak and strong?
Answer / Chhaya Singh
In Objective-C, `strong` refers to a strong reference that prevents an object from being deallocated until all strong references are removed. On the other hand, `weak` creates a reference that does not prevent an object from being deallocated when there are no other strong references to it. Weak references are useful for avoiding retain cycles.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you please explain the difference between nsarray and nsmutablearray?
What is strong and weak in ios?
What is the meaning of 'synthesize' keyword?
Explain me what is "delegate"?
Why do we override drawrect: method?
Explain how to delete images in ios?
Major difference between delegate and notification?
What framework is used to construct application's ios user interface?
What is datasource in ios swift?
An app is loaded into memory but is not executing any code. In which state will it be in?
Is core data is thread safe?
What is meaning of 'synthesize' keyword ?