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
- window
- JPA
- Realm
- IOS
- iOS16
- Code
- rxswift
- shorebird
- 개발자
- Firebase
- darkmode
- Xcode
- github
- 한글
- mac
- FLUTTER
- UIButton
- Apple
- Archive
- 웹뷰
- MacOS
- Notification
- Session
- 이미지
- Git
- SwiftUI
- appstore
- error
- geofencing
- Swift
Archives
- Today
- Total
목록any (1)
EEYatHo 앱 깎는 이야기

if let 약식 구문 등장 let foo: String? = "hello world" // if let foo = foo { if let foo { print(foo) } any 확장 any 키워드를 사용한 모듈을 만들 때, type erase 로 type relationship 이 제거되어 associatedType 을 디스패치하지 못하던 상황을 개선 => any 타입을 unboxing 하여 some 타입으로 컨버팅 할 수 있는 기능을 컴파일러에 추가 func feed(_ animal: some Animal) { let food = type(of: animal).Feed.make() // associatedType 접근 animal.eat(food) } func feedAll(_ animals: [a..
iOS, Swift/Swift Theory
2023. 2. 6. 18:15