-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS에서 자동 참조 카운팅(ARC)과 가비지 컬렉션(Garbage Collection)의 차이점에 대해 설명해주세요. #6
Comments
순환참조가 아닐경우에는 강한 참조여도 괜찮은가요? |
개발자의 실수에 의해 순환참조가 발생할 수 있는데, 이를 예방하기 위한 작업들에는 무엇이 있을까요? |
네! default 가 강한참조인데, 사이클이 생기지 않는다면 ARC 에서 자동으로 관리되기 때문에 그냥 두어도 괜찮습니다. |
제가 알기로는 실수를 할 수 있다는게 ARC 의 단점입니다.. 동호님의 이슈를 보며 알게 된 부분이지만,
아래는 Autorelease Pool 에 대한 글을 모아봤으니 읽어봐도 좋을 것 같아요! Autorelease Pool 란? - 간단한 설명 |
iOS에서 자동 참조 카운팅(ARC)과 가비지 컬렉션(Garbage Collection)의 차이점에 대해 설명해주세요.
The text was updated successfully, but these errors were encountered: