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 | 31 |
Tags
- Clean Code
- combine
- Refactoring
- ios
- UITextView
- 리팩토링
- rxswift
- ribs
- 스위프트
- Human interface guide
- 리펙터링
- map
- MVVM
- collectionview
- SWIFT
- 리펙토링
- Protocol
- UICollectionView
- uitableview
- 클린 코드
- HIG
- Observable
- 애니메이션
- swiftUI
- tableView
- swift documentation
- uiscrollview
- RxCocoa
- clean architecture
- Xcode
Archives
- Today
- Total
목록\. (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] KeyPath, map(\.) 연산자
KeyPath란? 특정 루트 유형(class 타입, struct 타입)에서 value type으로의 참조를 의미 Property의 reference값을 의미 (c에서의 포인트 개념과 유사) * 구체적인 KeyPath, KVC, KVO 개념은 다음 포스팅 글 참고 KeyPath 사용 방법 KeyPath 참조 얻어내는 방법 let userNameKeyPath = \\User.name print(userNameKeyPath) // Swift.KeyPath KeyPath 참조를 통해 값에 접근하는 방법 let userNameKeyPath = \\User.name print(userNameKeyPath) // Swift.KeyPath let user1 = User(name: "jake", email: "a@a.c..
iOS 응용 (swift)
2021. 12. 11. 22:36