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...


Who calls dealloc method? Can we implement dealloc in arc?



Who calls dealloc method? Can we implement dealloc in arc?..

Answer / Kaleem Salahuddin

The dealloc method is called by the Objective-C runtime when an object is about to be deallocated. However, in ARC (Automatic Reference Counting), you do not need to explicitly call dealloc. Instead, ARC takes care of memory management for you. You can still implement the dealloc method to perform custom cleanup operations if needed, but it will only be called when ARC determines that the object's retain count reaches zero.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are the types of ios binaries you can create using xcode?

1 Answers  


What is the difference between method and type?

1 Answers  


What is an objective description?

1 Answers  


What is a delegate? Can you retain delegates?

1 Answers  


What are the two types of m files?

1 Answers  


What do you understand by protocol?

1 Answers  


What are the advantages of using objective-c?

1 Answers  


What is the difference between #import and #include in objective-c?

1 Answers  


What do you mean by synthesized in objective-c?

1 Answers  


How big is a atom?

1 Answers  


What is the primary use of the category in the objective-c?

1 Answers  


Is objective-c a dynamic language?

1 Answers  


Categories