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

What is the use of category in objective-c?

1 Answers  


How do I create a bridge header in objective c?

1 Answers  


Tell me something about objective-c blocks?

1 Answers  


Does copy increase retain count?

1 Answers  


How different is objective c from swift?

1 Answers  


Distinguish between @synthesize and @dynamic in objective –c?

1 Answers  


What is an accessor method?

1 Answers  


Who made objective c?

1 Answers  


What is an extension?

1 Answers  


What does alloc mean in objective c?

1 Answers  


What are the main objectives of training?

1 Answers  


What is a delegate objective c?

1 Answers  


Categories