일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Autolayout 충돌
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- Compression resistance
- Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling
- UIKit기본
- #IntrinsicContentSize
- Multitasking #life Cycle
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- Multitasking #
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
- OS #Page #Page Table #Virtual Memory
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- COW #Copy On Write #Swift #Optimization
- notification #
- 백준#5719번#
- Hugging priority
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- UI그리기
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- Multiple Window #iPad
- ARC #Swift #Memory leak #weak self #unowned self #weak self 이유 #reference count #순환 참조 #retain cycle #delayed #deinitialization #지연 해제 #delayed deinitialization
- 알고리즘
- AR #Augmented Reality
- Autolayout #
Archives
- Today
- Total
목록deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭 (1)
도니의 iOS 프로그래밍 세상
[Swift] ARC와 클로저, 클로저 memory leak - ARC 기초편 4탄
안녕하세요, 지난 시간에는 ARC의 정의, Strong Reference Cycle, weak unowned의 차이에 대해서 공부했습니다. 이번 시간에는 weak unowned의 예시로 들었었던 View Controller의 클로저 내에서 weak self를 해주는 이유를 바로 알고는 싶지만, 그 전에 closure, closure와의 순환 참조를 통해서 ARC 기초를 마무리하도록 하겠습니다! 클로저는 Reference type 클로저는 reference type이라는 걸 알고 계셨나요? 이전 포스팅에서도 말했듯, reference type의 경우 “참조”가 가능하고, reference count를 증가시키는 것 또한 가능합니다. 그렇다면, closure와 “누군가”도 서로 참조를 일으키는 “순환 참조”..
Swift
2023. 1. 11. 19:00