Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- swift documentation
- 리펙토링
- uitableview
- rxswift
- UITextView
- map
- MVVM
- Clean Code
- 리팩토링
- Human interface guide
- 클린 코드
- 스위프트
- Xcode
- Refactoring
- UICollectionView
- HIG
- combine
- SWIFT
- ribs
- 애니메이션
- swiftUI
- Protocol
- collectionview
- Observable
- tableView
- ios
- RxCocoa
- clean architecture
- uiscrollview
- 리펙터링
Archives
- Today
- Total
목록메모리 처리 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 메모리 할당 위치 (struct, class, protocol, generic, closure)
value type, reference type swift에는 2가지 타입이 존재 value type: struct, enum, collection, 기본타입(Int Double, Bool ...) reference type: class, function, closure 두 타입의 차이 - copying value tpye - 카피할때 데이터의 복사본을 생성 reference type - shared instance를 생성하여 같은 인스턴스를 바라보는 참조값을 생성 cf) value type을 사용하면, thread간 의도하지 않은 공유로부터 안전한 프로그래밍이 되어, 로버트 C. 마틴의 클린 코드에서 얘기하는 functional programming 핵심은 데이터의 불변성에 도움 메모리 공간 할당 일반..
iOS 기본 (swift)
2022. 6. 4. 19:17