https://www.hackingwithswift.com/100/swiftui/37
100 Days of SwiftUI – Day 37 – Hacking with Swift
Link copied to your pasteboard.
www.hackingwithswift.com
2개의 View가 ObservableObject를 공유하는 앱을 만들어봤습니다. 데이터 모델을 정의하면서 SwiftUI가 아닌 Combine을 import 해봤습니다. ObservableObject, @Published 모두 Combine 소속이고 UUID는 Foundation 소속입니다. SwiftUI와 Combine을 구분해서 이해하는 게 과연 의미가 있을까 하는 생각이 잠시 드는데요. 어제 잠깐 생각했던 단어장 앱을 UIKit으로 구현하되 옵저빙을 Combine으로 구현해보면 어떨까 싶네요.
https://github.com/utrpanic/today-what-else/commit/62626bc24db011158dc3c0ad3cc58936628090fc
Day 39. Project 8, part 1 (0) | 2020.03.31 |
---|---|
Day 38. Project 7, part 3 (0) | 2020.03.24 |
Day 36. Project 7, part 1 (0) | 2020.03.22 |
Day 35. Milestone: Projects 4-6 (0) | 2020.03.21 |
Day 34. Project 6, part 3 (0) | 2020.03.21 |
댓글 영역