일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- swift concurrency #swift #concurrency #async #async let #swift parallel #병렬실행 #동시실행 #이미지 동시 다운로드 #iOS #UIKit
- 알고리즘
- OS #Page #Page Table #Virtual Memory
- Multitasking #
- Swift#flatMap#map#Monad#함수형 프로그래밍#Optional
- #IntrinsicContentSize
- Apple # HIG #iOS15 #iOS14 #Human #Interface #Guidelines #Apple developer # Apple human interface guidelines
- Autolayout #
- Swift Concurrency #동시성 프로그래밍 #async #await #async let #group Task #병렬 실행 #동시 다운로드
- Multitasking #life Cycle
- 거의최단경로 #5719번반례 # 백준반례 #백준플4 #플레4
- Hugging priority
- Autolayout 충돌
- ARC #unowned #weak #weak unowned차이 #순환참조 #Strong Reference Cycle #Swift #메모리 #memoryLeak
- 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
- UIKit기본
- 백준#5719번#
- COW #Copy On Write #Swift #Optimization
- UI그리기
- notification #
- Swift #UIkit #ARC #Reference count #memory leak #memory #leak #애플 #iOS
- AR #Augmented Reality
- async #await #swift Concurrency #concurrency #actor #concurreny 원리 #concurreny 개념
- Multiple Window #iPad
- Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory
- deinitialize #스위프트 #Swift #ARC #메모리 #memory #closure #클로저 #클로저 메모리 #weak #weak self #self #unowned self #memoryleak #메모리릭
- ARC #weak #unowned #Strong Reference #Strong Reference Cycle #순환참조 #Swift #메모리 #memoryLeak #메모리릭
- Compression resistance
- IntrinsicContentSize #UIKit #Swift #hugging priority #conflict resistance #Ambiguous
Archives
- Today
- Total
목록Struct #Value Type #Value #Reference #Reference Type #Class #Structure #memory (1)
도니의 iOS 프로그래밍 세상
[Swift] Struct와 Class의 차이(Value Type, Reference Type) - 기초편
Struct, Class Struct와 Class는 일반적으로 프로그램의 구성요소로서 범용적이고 유연한 구조를 자랑합니다. Swift문서의 설명인데 조금 원론적인 것 같네요. 쉽게 말해서, Struct와 Class는 한 객체안에 많은 정보를 담고 싶을때 가장 자주 쓰이는 형태입니다. 두 값은 굉장히 자주 사용되는데, 두가지의 차이점은 무엇이 있을까요? Reference Type, Value Type 두 값의 차이에서 가장 큰 점은 Class는 Reference Type, Struct는 Value Type이라는 점입니다. Value Type인 Structure, Enum Structure와 Eum은 Value Type으로서 변수나 상수에 할당될때, 함수에 전달될 때 값이 복사됩니다. 즉, 변수끼리 값을 전..
Swift
2022. 12. 31. 22:35