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 |
Tags
- Xcode
- uiscrollview
- swiftUI
- ios
- 애니메이션
- Human interface guide
- ribs
- collectionview
- 리팩토링
- clean architecture
- map
- 클린 코드
- Observable
- swift documentation
- tableView
- 리펙터링
- UICollectionView
- HIG
- 스위프트
- Refactoring
- UITextView
- uitableview
- 리펙토링
- SWIFT
- MVVM
- Protocol
- Clean Code
- RxCocoa
- rxswift
- combine
Archives
- Today
- Total
목록달러 접두사 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] @propertyWrapper의 projectedValue 개념 ($ 접두사, 달러 접두사)
PropertyWrapper 이미 정의된 property가 있을 때, 이 property를 감싸서(wrapping) computed-property로 만든 새로운 wrapper 프로퍼티를 의미 propertyWrapper 프로퍼티 안에는 wrappedValue라는 property가 존재하며, 이 property를 stored-property나 computed-property로 정의하여 사용 가능 stored-property로 사용 (didSet) computed-property로 사용 (get, set) ex) stored-property로 사용 (didSet) 내부에서 복잡하지 않고 단순한 처리만 사용하는 경우 // ex1) stored-property로 사용하여 didSet 이용 @propertyWr..
iOS 응용 (swift)
2022. 3. 5. 22:33