Multi Platform Development, the Swiftui way
summary
Builds a native Mac app called Orbit with SwiftUI as the primary framework, then ports to iPad, iPhone and Apple Watch, keeping most logic shared while rewriting platform UIs (sidebar vs tab bar) and using UIViewRepresentable, UIHostingController and AppKit/UIKit bridges where SwiftUI lacks features. Reports real SwiftUI bugs, files radars and uses workarounds like compile directives and view modifiers. Outcome: shipped multi‑platform app that mostly works but requires mixed frameworks and pragmatic tooling choices.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 3:03Multi-platform app with Orbit
- 4:26SwiftUI over other frameworks
- 6:54SwiftUI limitations and UIKit
- 8:59SwiftUI’s evolution
- 11:04SwiftUI development
- 14:16Code and UI structure
- 17:25One platform first
- 19:51Reusable UI components
- 22:19MacOS to iOS with SwiftUI
- 24:26Adapting UI for platforms
- 27:32Navigational flows
- 28:14Compiler directives for UI
- 30:20Custom view modifiers
- 32:27Techniques for platform UI
- 33:52Reusing components
- 35:40SwiftUI with UIKit
- 39:33Adding SwiftUI to UIKit
- 40:14Versioning considerations
- 40:54Q&A








