Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can we implement dealloc in arc? If yes, what is the need to do that?



Can we implement dealloc in arc? If yes, what is the need to do that?..

Answer / 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

More Objective-C Interview Questions

How do you add a category in objective c?

1 Answers  


What is the difference between class and category?

1 Answers  


Why is objective c used?

1 Answers  


What is atomic in objective c?

1 Answers  


What is the major difference between objective c and swift?

1 Answers  


What is the point of closures?

1 Answers  


Is closure a function?

1 Answers  


What is the use of category in objective-c?

1 Answers  


When will you use nsarray and nsmutablearray?

1 Answers  


What is hashable?

1 Answers  


What is a category in objective c?

1 Answers  


Can objective c run on windows?

1 Answers  


Categories