Is it possible to implement dealloc in arc?
Answer / Arpit Kumar Singh
Automatic Reference Counting (ARC) is designed to manage memory automatically, so you don't have to call the dealloc method explicitly. When an object with ARC reaches zero retain count, ARC calls dealloc for you. However, if needed, you can still override dealloc in a subclass or category, but it's not typically necessary.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between nsdictionary and nsmutabledictionary?
What is the point of closures?
Is c and objective c the same?
What is the difference between weak and unowned?
Mention what is the primary use of the category in the objective-c?
What is protocol in simple words?
What optional binding?
What is nsmutabledictionary?
What is an m file?
What is property and its types?
What is strong and weak in objective c?
What is an extension?