Automatic Reference Counting (ARC) is a memory management feature of the Clangcompiler providing automatic reference counting for the Objective-C and Swiftprogramming languages. At compile time, it inserts into the object codemessagesretain and release[1][2] which increase and decrease the reference count at run time, marking for deallocation those objects when the number of references to them r..