What is dealloc?
Answer / Manoj Singh
dealloc is a method that is called automatically when an object is about to be deallocated (freed) by the memory management system. It's used to release any allocated resources such as memory for instance variables before the object is destroyed.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to create uibutton programmatically in objective c?
What is instancetype?
How do you define a protocol?
Which language does apple use?
What is protocol in networking?
Why is objective c better than swift?
What is super in objective c?
Can we implement dealloc in arc? If yes, what is the need to do that?
What is the protocol in objective c?
Is struct a class?
What is the difference between underscore and self (i.e self.xx and _xx) ?
What is the difference between polymorphism and abstraction?