Can we implement dealloc in arc? If yes, what is the need to do that?
Answer Posted / Shivam Dixit
Yes, you can implement dealloc manually even with ARC, but it's generally not needed because ARC automatically handles memory management. However, if you want to perform custom cleanup tasks (like saving user data or closing network connections) before an object is deallocated, you can override dealloc.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category