Who calls dealloc method? Can we implement dealloc in arc? If yes, what is the need to do that?
Answer Posted / Neetu Sinha
In ARC (Automatic Reference Counting), the object's dealloc method is called by the runtime when the object's retain count reaches zero. Yes, you can implement dealloc manually even with ARC, but it's generally not needed because ARC automatically handles memory management.
| 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