일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Hugging priority
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
- Multiple Window #iPad
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- Autolayout #
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- Autolayout 충돌
- Multitasking #life Cycle
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- AR #Augmented Reality
- COW #Copy On Write #Swift #Optimization
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- OS #Page #Page Table #Virtual Memory
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
- #IntrinsicContentSize
- UI그리기
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
- ARC #Swift #Memory leak #weak self #unowned self #weak self 이유 #reference count #순환 참조 #retain cycle #delayed #deinitialization #지연 해제 #delayed deinitialization
- UIKit기본
- notification #
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- 알고리즘
- Compression resistance
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- 백준#5719번#
- Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling
- Multitasking #
Archives
- Today
- Total
목록Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드 (1)
도니의 iOS 프로그래밍 세상
Group Task - Swift Concurrency(4)
지난 시간에는 async let을 사용하여, concurrent하게 이미지를 다운로드 받는 방법에 대해 알아보았습니다. 이번시간에는 전부 async let을 처리하는것이 아닌, group Task라는 기능을 이용하여 작업을 병렬적으로 실행하는 방법에 대해서 이야기하겠습니다. 지난 포스팅을 보지 않으셨다면, async let(3)를 보고 오시면 이해가 더욱 쉽습니다. Group Task가 필요한 이유 async let은 비교적 간단하게 병렬적으로 이미지를 다운받을 수 있는 기능입니다. 하지만, async let의 한계는 static하게 결정된 task에서만 사용이 가능하다는 것입니다. 위 코드에서 보듯, 분명하게 두개의 child task가 생성될 거라는 점이 컴파일 시점에서도 이를 명확하게 알 수 있습니..
Swift
2023. 3. 20. 14:12