일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- Multiple Window #iPad
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- Autolayout 충돌
- #IntrinsicContentSize
- 백준#5719번#
- COW #Copy On Write #Swift #Optimization
- AR #Augmented Reality
- Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling
- ARC #Swift #Memory leak #weak self #unowned self #weak self 이유 #reference count #순환 참조 #retain cycle #delayed #deinitialization #지연 해제 #delayed deinitialization
- OS #Page #Page Table #Virtual Memory
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- notification #
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- UIKit기본
- Hugging priority
- Autolayout #
- 알고리즘
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- UI그리기
- Multitasking #
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- Compression resistance
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
- Multitasking #life Cycle
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
Archives
- Today
- Total
목록ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak (1)
도니의 iOS 프로그래밍 세상
[Swift] weak, unowned 차이 - ARC 기초편 3탄
안녕하세요, 지난 포스팅에선 Strong Reference와 그로 인해 발생하는 Strong Reference Cycle을 해결하는 방법에 대해서 배웠습니다. 그때 순환참조를 해결하기 위해서, 직접 참조를 nil로 지정해 Reference Count를 감소 시키는 방법, 참조를 weak, unowned reference로 함으로써 Reference Count를 증가시키지 않는 방법에 대해서 배웠습니다. 그럼 이번시간에는 weak, unowned는 무엇이며, 이들이 어떻게 Reference Count를 증가시키지 않았는지에 대해 배우겠습니다. Weak, Unowned 사용법 Weak와 Unowned의 가장 큰 공통점은 특정 객체를 참조할 때 Reference Count를 증가시키지 않는 것입니다. 이 두가..
Swift
2023. 1. 10. 20:00