Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- SWIFT
- collectionview
- tableView
- clean architecture
- Xcode
- swift documentation
- Observable
- HIG
- Clean Code
- 애니메이션
- combine
- ribs
- UITextView
- MVVM
- Protocol
- RxCocoa
- 리펙토링
- Human interface guide
- uitableview
- ios
- UICollectionView
- rxswift
- 클린 코드
- 리펙터링
- Refactoring
- map
- 리팩토링
- 스위프트
- uiscrollview
- swiftUI
Archives
- Today
- Total
목록Auto Reference Count (1)
김종권의 iOS 앱 개발 알아가기
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/DQimf/btraoBDHOfB/jjT5f9ztQjKbt2YlFl0bf0/img.png)
ARC 앱의 메모리 사용량을 추적하고 관리하는 방법 인스턴스가 생성될 때마다 ARC는 해당 인스턴스에 대한 정보를 저장하기 우해 메모리 청크를 할당 ARC는 strong reference를 통해, 현재 사용중인 instance가 메모리 해제되지 않도록 유지 ARC는 현재 인스턴스를 참조하는 속성, 상수, 변수의 count를 추적 > count가 하나 이상 존재하는 한 인스턴스를 할당해제하지 않는 것 ex) class Person { let name: String init(name: String) { self.name = name print("\(name) is being initialized") } deinit { print("\(name) is being deinitialized") } } var re..
swift 공식 문서
2021. 7. 24. 20:59