InterviewSolution
Saved Bookmarks
| 1. |
What is ARC (Automatic Reference Counting)? |
|
Answer» In the Swift programming language, automatic reference counting (ARC) is used to manage apps' MEMORY usage. It initializes and deinitializes system resources, thereby releasing memory reserved by a CLASS instance when it no longer needs it. ARC keeps track of how many PROPERTIES, constants, and variables currently refer to each class instance. When there is at least one active reference to an instance, ARC will not deallocate that instance. The use of ARC concepts is an essential part of iOS development. Functions of ARC -
|
|