SwiftUIWeb project brings SwiftUI to browsers

forums.swift.org2 min read

An open-source project called SwiftUIWeb allows developers to run SwiftUI code directly in web browsers using Embedded Swift and WebAssembly. The framework uses a Web Worker to execute Swift while a lightweight JavaScript layer updates the browser's native DOM. A test using Apple's Food Truck sample application demonstrated sidebar navigation, tables, charts, maps, and animated layouts across web, iPhone, and iPad platforms. Open article →