Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 836 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 836 Bytes

Swift on the Web

This repository shows a few examples of how to use Swift on the Web.

String-based Swift-JS API's

Demonstrates passing data as a String between Swift and JavaScript.

Builds off of the example from the SwiftWasm book that shows passing Integer types.

See here for details.

Tokamak SwiftUI on the Web

Demonstrates a basic web app uses SwiftUI via Tokamak for the user interface and SwiftWasm for the underlying web app code.

The web app runs as a self-contained wasm that provides the entire user interface only from the wasm executable, via DOM manipulation.

Refer to the Tokamak repo for details.

See here for details.