로딩
요청 처리 중입니다...

[iOS / Swift] ARC - 메모리 관리

 [iOS / Swift] ARC - 메모리 관리

ARC는 Automatic Reference Counting의 약자로 자동으로 메모리를 관리해준다는 의미이다. 애플 개발자 문서를 파헤쳐 보자 Swift uses Automatic Reference Counting (ARC) to track and manage your app’s memory usage.

In most cases, this means that memory management “just works” in Swift, and you do not need to think about memory management yourself. ARC automatically frees up the memory used by class instances when those instances are no longer needed.

Swift는 앱의 메모리 사용을 추적하고 관리하기 위해 ARC를 이용한다. 대부분의 경우 "적당히 작동"한다.

즉, 메모리관리에 대해 신경 쓸 필요가 없다. A...