When should you call dealloc method? Is it possible to implement dealloc in arc?
Answer Posted / Saurav Yadav
The dealloc method is called automatically by ARC when an object's retain count reaches zero. However, you can still override the dealloc method if needed, but it's not typically necessary. Overriding dealloc can be useful for performing custom cleanup operations before the object is deallocated.
| 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