When should you call dealloc method?
Answer / Manish Jaiswal
You should call the dealloc method when an object is no longer needed, usually before it's about to be released by ARC (Automatic Reference Counting) or manually before memory deallocation. It allows objects to perform any necessary cleanup before they are destroyed.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between null and nil?
What is an accessor method?
What is hashable?
How is #import different from #include?
Are callbacks closures?
What do you mean by synthesized in objective-c?
What is extern objective c?
What is nonatomic and strong in objective c?
Is c++ objective c?
What is difference between method and constructor?
Why do we require class extension?
What is a block objective c?