Question d’entretien chez Disney+ Hotstar

How ARC works?

Réponse à la question d'entretien

Utilisateur anonyme

9 janv. 2021

ARC is a compiler feature that provides automatic memory management of Objective-C objects. Instead of you having to remember when to use retain, release, and autorelease, ARC evaluates the lifetime requirements of your objects and automatically inserts appropriate memory management calls for you at compile time. The compiler also generates appropriate dealloc methods for you.