일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- AR #Augmented Reality
- UIKit기본
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- Autolayout #
- 백준#5719번#
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- Multitasking #life Cycle
- Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- Multitasking #
- Hugging priority
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- ARC #Swift #Memory leak #weak self #unowned self #weak self 이유 #reference count #순환 참조 #retain cycle #delayed #deinitialization #지연 해제 #delayed deinitialization
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
- Autolayout 충돌
- OS #Page #Page Table #Virtual Memory
- notification #
- COW #Copy On Write #Swift #Optimization
- UI그리기
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- 알고리즘
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- #IntrinsicContentSize
- Multiple Window #iPad
- Compression resistance
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
Archives
- Today
- Total
목록Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling (1)
도니의 iOS 프로그래밍 세상
Swift Error handling(try, catch) - Swift Concurrency(2)
Try - Catch 공부배경 Swift Concurrency에서 가장 큰 장점중 하나는 에러처리입니다. 기존에 Result Type을 사용하거나, nil을 completion handler를 통해서 전달할 필요가 없어졌기 때문입니다. 단순히 async함수에 throws라는 키워드만 붙임으로써 보다 간단하고 실수없는 에러처리를 할 수 있습니다. async 함수를 잘 적용하기 위해서 try catch가 언제 작동하며, 이들이 언제 에러를 전달하고 시스템 종료를 유발시킬수 있는지 알아야 합니다. Swift Error Handling 에러 던지기(Throwing Errors) Swift에서 Error는 Error Protocol을 준수하는 타입의 값으로 나타납니다. 해당 프로토콜을 채택하는 어떤 타입이든지간에..
Swift
2023. 2. 9. 18:30