swiftui view codable – transforming swiftui to json for a fully backend driven ui
summary
Claims that full app screens serialize as JSON by making SwiftUI views encode SwiftUI Views as Codable and deserialize them at runtime into a UI factory. Demos show live JSON-driven layout that updates on save, uses Kingfisher for remote images and SwiftUI-Introspect for private properties, and supports a backend variant model for iOS/Android parity. Caveats: year-long multi‑person effort, need strong tooling and whitelisted actions to avoid crashes or security exposure, bindings and runtime validation remain brittle.
AI-written summary · about
chapters (9)
- 0:00Welcome
- 2:27Parameterized views with JSON
- 5:54Dynamic screens
- 10:47Encoding views as JSON
- 16:30Abstracting views
- 21:28Validating and debugging
- 24:36Server-side SwiftUI
- 28:52Tooling and collaboration
- 32:20Closing and Q&A








