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
- MainScheduler.Instance
- DispatchQueue
- DynamicMemberLookup
- swift
- rxswift
- data_structure
- SeSAC
- leetcode
- SRP
- MainScheduler.asyncInstance
- 청년취업사관학교
- 코테
- combine
- 등굣길
- DiffableDataSource
- RaceCondition
- MainScheduler
- 프로그래머스
- DependencyInjection
- Realm
- GIT
- MethodSwilzzling
- GCD
- SwiftUI
- CoreBluetooth
- gitflow
- cleanarchitecture
- 오픈채팅방
- IOS
- 명품cppProgramming c++
Archives
- Today
- Total
목록DynamicMemberLookup (1)
Do.
Swift - Dynamic member lookup
Intro Swift로 된 라이브러리를 구경하다 보면, Class의 @Attribute로 dynamicMemberLookup이라는 것이 붙은 것을 본 적이 있다. dynamicMemberLookup이 무엇인지, 어떻게 쓰이는지 알아보자 What is Dynamic member lookup 먼저 이것이 무엇인지만 간략하게 설명하자면 '실제 객체에 존재하지 않는 프로퍼티(멤버 변수)를 Dot Syntex로 접근하는 문법` 으로 몬 쌉소린가 싶습니다. 하지만 이 개념을 알고 난 뒤에는 똑같이 설명하게 되실 겁니다. 우선 당연한 예제를 하나 볼게요 struct Developer { let languages: [String: Int] } var henry = Developer(languages: [ "swift"..
iOS
2022. 5. 18. 00:32