일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
- 백준#5719번#
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- UI그리기
- Multiple Window #iPad
- Multitasking #life Cycle
- Compression resistance
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- notification #
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
- AR #Augmented Reality
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- Hugging priority
- UIKit기본
- ARC #Swift #Memory leak #weak self #unowned self #weak self 이유 #reference count #순환 참조 #retain cycle #delayed #deinitialization #지연 해제 #delayed deinitialization
- Autolayout 충돌
- Multitasking #
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
- COW #Copy On Write #Swift #Optimization
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- OS #Page #Page Table #Virtual Memory
- Autolayout #
- Swift #try #catch #Swift Concurrency 에러처리 #에러처리 #Error #Error Handling
- 알고리즘
- #IntrinsicContentSize
Archives
- Today
- Total
목록Compression resistance (1)
도니의 iOS 프로그래밍 세상
[UIKit] Hugging priority, Compression resistance - IntrinsicContentSize 2탄
이번시간에는 Autolayout간의 충돌을 해결할 수 있는 hugging priority, compression resistance에대해 알아보겠습니다. 두가지 키워드의 정의 및 사용법을 익히기 전 왜 필요한지에 대해 배우겠습니다. 필요한 이유 TextField와 Button이 동일선상에 위치합니다. TextField와 Button는 밑의 그림과 같이 서로 붙어있습니다. Autolayout은 에러없이 정상적으로 동작합니다. 하지만, 이때 TextField가 글자가 많아진다면 어떻게 될까요? 서로 고유크기를 지키면서 Autolayout까지 지키려고 했기 때문에 에러가 발생했습니다. 만약 본인이 컴퓨터라면 둘중 어떤 크기를 줄이고, 어떤 크기를 그대로 둘것인가요? “제일 첫번째 그림과 같이 TextField..
UIKit
2023. 2. 15. 18:00