Architecture6 min read
Rolling your own SDUI vs a Swift package
A weekend switch statement works until unknown types, nested widgets, and Swift 6. A package is FlowCore plus FlowRender plus your registry.
Published articles in this category. Tags stay on the article and as filters on the blog index; they do not get their own pages.
A weekend switch statement works until unknown types, nested widgets, and Swift 6. A package is FlowCore plus FlowRender plus your registry.
The rendering engine walks sections, resolves each widget type in the registry, and lays out native SwiftUI. Unknown types drop out.
A server driven UI architecture on iOS is decode, registry, contain failures, render widgets, dispatch actions. Flow-UI names those types.
Skip SDUI for maps, heavy gestures, latency-critical canvases, and apps that change UI once a quarter. Use it for feeds, merchandising, onboarding, and experiments.