Elmification of Swift
summary
Implements the Elm unidirectional architecture in Swift using RxSwift as the reactive layer, building primitive components (text field, button) that map to NSView and a lightweight virtual DOM for diffing. Uses channels for actions and models, a rendering loop, and a pattern for delegating child updates so two linked text fields stay in sync. Demonstrates replacing native UI with a webview to swap in ReactJS, letting the same app logic render either Cocoa views or a JS UI.
AI-written summary · about
